'LinKin Posted February 2, 2014 Share Posted February 2, 2014 Hey, I'm using MySQL database dbHandler = dbConnect( "mysql", "dbname=******;host=localhost", "*********", "**********", "share=1" ) dbName is OK dbUsername is OK dbPassword is OK I don't know why it's failing.. Any clue? Link to comment
Castillo Posted February 2, 2014 Share Posted February 2, 2014 Try changing 'localhost' to 127.0.0.1. Link to comment
xXMADEXx Posted February 2, 2014 Share Posted February 2, 2014 Try: dbHandler = dbConnect( "mysql", "dbname=******;host=localhost;port=3306", "*********", "**********", "share=1" ) Link to comment
'LinKin Posted February 2, 2014 Author Share Posted February 2, 2014 So, I've made a MySQL db in 000webhost And guess what It still doesn't work.. Same error Link to comment
TAPL Posted February 2, 2014 Share Posted February 2, 2014 I guess free website host does not allow external connection. Link to comment
'LinKin Posted February 4, 2014 Author Share Posted February 4, 2014 Uh, what could I use so that it allows me external connections? Link to comment
myonlake Posted February 4, 2014 Share Posted February 4, 2014 Uh, what could I use so that it allows me external connections? Free hosts rarely accept remote connections. You have to pay for a MySQL server/webhost that has that feature enabled. Hosting24 has that feature in it, you can set remote access in cPanel simply by entering the source IP address. 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