emrkzl Posted May 28, 2012 Share Posted May 28, 2012 Unablo to connect mysql error write. Why this write? Link to comment
Cyandie Posted May 28, 2012 Share Posted May 28, 2012 Is your connection Settings to the SQL correct and show us your mysql_connect in the script. Link to comment
emrkzl Posted May 28, 2012 Author Share 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 ) Link to comment
Cyandie Posted May 28, 2012 Share 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. Link to comment
emrkzl Posted May 28, 2012 Author Share Posted May 28, 2012 Still the error writing .. Link to comment
Cyandie Posted May 28, 2012 Share Posted May 28, 2012 Well ask ur host what the config is. Link to comment
qaisjp Posted June 1, 2012 Share 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. 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