Jump to content

Error Connecting Via Remote Mysql From My Computer


Recommended Posts

Posted

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 Configuration

db.hostname=localhost

db.port=3306

db.username=slash_****

db.password=****

db.name=slash_****

 

should i do something in my computer too to get it work or what?

Posted

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?

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...