Remote MySQL Access

Status
Not open for further replies.

mmowebzr

New Member
Messages
1
Reaction score
0
Points
0
Hey there!
My hosting account that I paid for is set to expire soon, and I really wasn't using it much for the amount I paid. So, I decided to get a free host set up to use for my testing while I'm at it. I am using SVN with a few friends on a project and it kind of sucks having to transfer our MySQL database dump every time we commit and then have to run the query every time there's an update. I am using this almost 100% for a remote database to work with while we are in development.

The domain: mmowebzremote.x10.mx

I am trying to do a remote MySQL connection and I've tried two different IP addresses for the host name. One of the IP's is on the side of the cPanel and the other IP is on the PHPMyAdmin. I also added my IP Address to the remote domain (tried %myip, myip, and %.myip). I am timing out on the connection and receiving this error: "Error :: SQLSTATE[HY000] [2003] Can't connect to MySQL server on '11.34.1.13' (60)". I am using PDO using MAMP server on a Mac. PHP runs fine and I can connect to my local database without a problem, but when trying to connect to this a remote database, I time out. Any ideas from a community member who's done this before?

Thank you very much!
-Alex
 

essellar

Community Advocate
Community Support
Messages
3,295
Reaction score
227
Points
63
Remote MySQL access is disabled on Free Hosting. The only permitted connection is the literal string "localhost" (which is virtualized to the MySQL server from the account servers). And no, an exception cannot be made.
 

essellar

Community Advocate
Community Support
Messages
3,295
Reaction score
227
Points
63
You can, however, create an HTTP API to push/pull changes if you want something more atomic.
 
Status
Not open for further replies.
Top