gm_tmysql 2 help

Hello, I have put libmysql.dll in the folder with srcds.exe and have put gm_tmysql.dll in garrysmod/lua/includes/modules
but when ever I try to use require(‘tmysql’) I get

Loading tmysql module… error loading module ‘tmysql’ from file ‘c:\gmod\orangebox\garrysmod\lua\includes\modules\gm_tmysql.dll’:
%1 is not a valid Win32 application.

I get this when trying to set up tmysql with server and from the client, and get the same message.

I downloaded tmysql form

Any help would be much appreciated.

Why not use gm_MySqloo or gm_tmysql 3?

OK using gm_tmysql 3 but when trying to use tmysql.initialize i get

bad argument #6 to ‘initialize’ (number expected, got table)(Hook: Initialize)

my initialize line looks like this

tmysql.initialize(“localhost”, “root”, “pass”, “gmod”, 3306)

There is no 6th argument, interesting, try something like this:

tmysql.initialize(“localhost”, “root”, “pass”, “gmod”, 3306, nil)

and post the results. Also, try using it outside of a hook, and try gm_debugger if you don’t get any further.

passing nothing is the same as passing nil there

Except he’s passing nothing, and it’s saying that where there is supposedly nothing , there’s a table. Hence the nil ( and hence me putting it in bold … )

okay sorry about the last question i re-downloaded gm_tmysql3 and it worked, must of got the wrong one when downloading