'LinKin Posted February 2, 2014 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?
xXMADEXx Posted February 2, 2014 Posted February 2, 2014 Try: dbHandler = dbConnect( "mysql", "dbname=******;host=localhost;port=3306", "*********", "**********", "share=1" )
'LinKin Posted February 2, 2014 Author Posted February 2, 2014 So, I've made a MySQL db in 000webhost And guess what It still doesn't work.. Same error
TAPL Posted February 2, 2014 Posted February 2, 2014 I guess free website host does not allow external connection.
'LinKin Posted February 4, 2014 Author Posted February 4, 2014 Uh, what could I use so that it allows me external connections?
myonlake Posted February 4, 2014 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.
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