MySQL Forums
Forum List  »  Newbie

Re: Unable to connect to database: Can't connect to MySQL server on '[database server]' (4)
Posted by: Pascal Peregrina
Date: December 06, 2009 06:08AM

I am getting the same issue. I can connect to my remote mysql server from the machine using GUI tools (Query Browser...) and command line.

However when I use mysql workbench with exact same connection settings, it ends up with the above error message. Does anyone know what is the error #4 ? Doesn't seem to be a mysql server error.

Also, note that if I create an SSH tunnel to the db server, and configure mysql workbench to use it, it can connect fine.

I'm using latest Mac OS X Snow Leopard on the client side, and latest Ubuntu server side.

Thanks for your help.

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.