Welcome Guest | Login

mysql via CocoaMySQL

This is very similar to the Navicat thread http://www.hostingrails.com/forums/deployment_troubleshooting_thread/247 but I decided to start a new thread.

CocaoMySQL on OSX lets you connect to remote mysql servers.

The error I get is:
"Connection failed!
Unable to connect to host [my hostingrails IP address].
Be sure that the address is correct and that you have the necessary privileges.
MySQL said: Access denied for user '[my hr username]'@'[my ISP IP]' (using password: YES)"

A reverse lookup of "my ISP IP" shows it belongs to my ISP (Hughes Network Systems satellite), though I didn't recognized it, and it's different from what I get at http://whatismyipaddress.com


The connection settings they offer, and values I tried are:

Host: [my hostingrails IP]
User: [my hostingrails username as used in cpanel]
Password: [as used in cpanel]
[x] Use SSH tunnel
SSH Host: [my hostingrails IP]
SSH User: [my hostingrails username as used in cpanel]
SSH Password: [as used in cpanel]
Local Port: 8888 [this was the default]

In cpanel mysql I now have the following Access Hosts
   %
   [IP found at http://whatismyipaddress.com]
   [xx.xx.% using the digits from ISP IP]
   [ISP IP]
   localhost
   
This isn't critical, I can use phpmyadmin but would be nice to get it working.

2007-03-30 01:59 PM

Hello Linoj,

Could you please ensure that you are giving the mysql username as 'cpanelusername_mysqldatabase'

Also ensure that port 3306 is enabled on your network. Do the following command for checking if the port is opened

telnet <serverIP> 3306

If you still have issue please let us know the output of the above command.

2007-03-30 04:03 PM

Yep! that did it!

User: [cpanelusername_mysqlusername]
Password: [myslqpassword]
(rest of the params as in my first post)

btw, when i did the telnet command I got:

Trying xxx.xxx.xxx.xxx...
Connected to hostingrails.com.
Escape character is '^]'.
=
5.0.27-standard?wZ=^DvG?,F#z_K;#>PU=nConnection closed by foreign host.

I'm not sure if that's good, bad, or just ugly :)

2007-03-30 05:36 PM


Hello Guest! In order to post you must be an active client with us, please log in or sign up.