Cyandie Posted May 28, 2012 Posted May 28, 2012 Is your connection Settings to the SQL correct and show us your mysql_connect in the script.
emrkzl Posted May 28, 2012 Author Posted May 28, 2012 -- retrieve the settings local server = get( "a-t" ) or "-" -- server local user = get( "al-a" ) or "-" -- username local password = get( "-" ) or "-" -- password local db = get( "-" ) or "-" -- database local port = get( "port" ) or 3306 local socket = get( "socket" ) or nil handler = mysql_connect ( server, user, password, db, port, socket )
Cyandie Posted May 28, 2012 Posted May 28, 2012 -- retrieve the settings local server = "localhost" -- server local user = "root" -- username local password = "" -- password local db = "mta" -- database local port = 3306 handler = mysql_connect( server, user, password, db, port) this mabako's? and make sure you connection settings are the exact same as connection the SQL script other-wise it will not work.
MTA Team qaisjp Posted June 1, 2012 MTA Team Posted June 1, 2012 XAMPP is not required because he has bought hosting. The above site restricts access to databases based on the IP/domain name, like a firewall. Send us your mysql script, take out the password.
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