Filip Posted June 13, 2012 Posted June 13, 2012 Had this problem before, and now I have it again. Well, I'm changing the hosting for my server and I've got the same issue as before. I keep getting the following error: [2012-06-13 02:37:35] ERROR: sql\sql.lua:13: attempt to call global 'mysql_connect' (a nil value) [2012-06-13 02:37:35] ERROR: sql\sql.lua:50: attempt to call global 'mysql_query' (a nil value) [2012-06-13 02:37:35] ERROR: call: failed to call 'sql:query' [string "?"] All the information in my sql.lua is entered correctly. I've added the IP to the remoteSQL in the Cpanel. So what is causing this problem?
Castillo Posted June 13, 2012 Posted June 13, 2012 You have to install the MySQL module: https://wiki.multitheftauto.com/wiki/Mysql San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Castillo Posted June 13, 2012 Posted June 13, 2012 Well, I would say that the module isn't loaded. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
myonlake Posted June 13, 2012 Posted June 13, 2012 modules -folder, deathmatch -folder, server -folder. All those with MySQL module. And also make sure mtaserver.conf has it linked. If I helped you, please click the like button on the right Thanks!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now