slash Posted December 17, 2011 Posted December 17, 2011 hello! i have a program that must be running for the website to work 100 % and i can only be able to do it if i have it on from my home computer. to the program to run it must be connected to the mysql database(which is on the host). i asked a friend and he said that use Remote mySQL and enter your IP and then try again. it didnt work... what am im doing wrong.. ## MySQL Configurationdb.hostname=localhostdb.port=3306db.username=slash_****db.password=****db.name=slash_**** should i do something in my computer too to get it work or what?
Asaguare Posted December 17, 2011 Posted December 17, 2011 You say the db is on heliohost? In the config you wrote hostname=localhost ...
slash Posted December 17, 2011 Author Posted December 17, 2011 oh... but how should it bee?? i use johnny.heliohost.org
Byron Posted December 17, 2011 Posted December 17, 2011 Look for Connecting Remotely: http://wiki.helionet.org/MySQL_Databases
slash Posted December 17, 2011 Author Posted December 17, 2011 hi guys... i followed the link you gave me but this message came up on the program: "Failed to open connection for database, exception message: Unable to connect to any of the specified MySQL hosts." help plase?
2bigpigs Posted December 18, 2011 Posted December 18, 2011 Did you add the domain (or IP) of the machine your are connecting FROM to cPanel?You can also use '%' in there to allow everyone to connect. Edit: I'm a bit late i guess. The wiki covers all of this.
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