• MySQLoo Linux
    0 replies, posted
[B]Hi, before I'm going ahead with my issue, I would like to say, that I'd post this on the "Problems that don't need their own thread", thread. However, I didn't really got anything out from that, and I'm pretty sure it got looked over after an hour. I'm not sure if I'm allowed to post this here then, but I'll go ahead, and give it a shot. [/B] So, I'm trying to get MySQLoo to work on my Linux dedicated server. I've placed all the files correctly ( of what I know ), and have following: libmysql.so [B]->[/B] /garrysmod/ ( outside the /garrymod/garrysmod ) ggmsv_mysqloo_linux.dll [B]->[/B] /garrysmod/lua/bin As well I have a code in /autorun/server with the following code: [CODE]require("mysqloo") local db = mysqloo.connect( "*", "*", "*", "*", *) -- I've removed the connection info, just to be sure function db:onConnected() print( "Database has connected!" ) local q = self:query( "SELECT 5+5;" ) function q:onSuccess( data ) print( "Query successful!" ) PrintTable( data ) end function q:onError( err, sql ) print( "Query errored!" ) print( "Query:", sql ) print( "Error:", err ) end q:start() end function db:onConnectionFailed( err ) print( "Connection to database failed!" ) print( "Error:", err ) end db:connect() [/CODE] However, it's spitting out this error upon launch: [CODE][ERROR] lua/autorun/server/mysqloo.lua:1: Couldn't load module library="keyword operator">! 1. require - [C]:-1 2. unknown - lua/autorun/server/mysqloo.lua:1[/CODE] I've search for it on google, nothing seemed to work.. Any help is greatly appreciated.
Sorry, you need to Log In to post a reply to this thread.