Filip Posted June 13, 2012 Share 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? Link to comment
Castillo Posted June 13, 2012 Share Posted June 13, 2012 You have to install the MySQL module: https://wiki.multitheftauto.com/wiki/Mysql Link to comment
Filip Posted June 13, 2012 Author Share Posted June 13, 2012 Already have it, and linked. Link to comment
Castillo Posted June 13, 2012 Share Posted June 13, 2012 Well, I would say that the module isn't loaded. Link to comment
myonlake Posted June 13, 2012 Share Posted June 13, 2012 modules -folder, deathmatch -folder, server -folder. All those with MySQL module. And also make sure mtaserver.conf has it linked. Link to comment
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