When I run database:query( x ) it returns a nil value.
The query is valid and I am running database.connect( … ) prior to running database:query( x );
I do have libMySQL and gmsv_mysqloo.lua and am requiring the dll.
I have used the sample code in the mysqloo thread and same thing.
Exact error…
mysql.lua: attempt to index local 'QueryObj' (a nil value)
QueryObj is what is returned in database:query( x )
This isn’t an issue with the code there is a requirement I am missing.
The module is being loaded correctly as the type of the database variable return Database.
I have C++ Redistributableand and am running Windows Server 2008 R2.