Hello, everyone!
I'm having a problem with TMySQL4, and getting it to work on my GMod server.
I have the DLL (renamed to gmsv_tmysql4_win32.dll) in garrysmod/lua/bin, and libmysql.dll alongside srcds.exe.
I've also installed the Visual C++ Redistrib. runtime version 2012 update 4.
For some reason I can't explain, the module still fails to load with a "Couldn't load module library!" error.
Does anyone know what's going on or how to help?
Thanks,
-Short Circuit
May sound stupid but are you sure you're on Windows?
[QUOTE=YourStalker;45139422]May sound stupid but are you sure you're on Windows?[/QUOTE]
Yes- I'm running this on a VPS, and can confirm this is Windows Server 2008 R2.
Don't rename any of the dlls, that could possibly cause an issue. Make sure you're also using the most up to date MySQLoo modules. [url]http://facepunch.com/showthread.php?t=1357773[/url]
[QUOTE=YourStalker;45141970]Don't rename any of the dlls, that could possibly cause an issue. Make sure you're also using the most up to date MySQLoo modules. [URL]http://facepunch.com/showthread.php?t=1357773[/URL][/QUOTE]
Hmm... Every thread I've seen says to rename the TMySQL4 DLL- change the prefix from gm_ to gmsv_...
As for up-to-dateness, I downloaded the DLLs from the TMySQL4 developer's Google Code repository... So they should be up to date...
[B]EDIT[/B] Also, this is the [URL="http://blackawps-glua-modules.googlecode.com/svn/trunk/gm_tmysql4_boost/Release/"][I]TMySQL4[/I][/URL] module we're talking about here, not MySQLoo...
Make sure you have the C++ X86 redistributes that the module was compiled with.
[QUOTE=>>oubliette<<;45143234]Make sure you have the C++ X86 redistributes that the module was compiled with.[/QUOTE]
It was compiled with x86?
Hmm...
I have the VC++ 2012 Update 4 installed for x64... Should I grab x86?
[editline]18th June 2014[/editline]
[B]Fixed.[/B]
TMySQL4 runs on x86 libraries, I was running x64.
Installed x86 and it worked first try...
I'm an idiot.
Sorry, you need to Log In to post a reply to this thread.