Re: DB connection url for MySQL
Posted by: Todd Farmer
Date: October 02, 2012 11:22AM

Hi David,

Can you please provide the full stack trace?

The message you describe is consistent with being unable to connect to the specified host from the client machine. Check firewalls, routing, DNS, etc. The easy first check is to see if you can telnet to the machine from the client:

shell> telnet mysqlpc 3306

This should print the MySQL server handshake (identifiable by the MySQL version string returned). If you don't get that when executing on the client machine, you need to look at what may be preventing you from connecting to port 3306 on mysqlpc. Firewalls are a frequent root cause.

Best regards,

--
Todd Farmer
MySQL @ Oracle
http://www.oracle.com/mysql/

Options: ReplyQuote


Subject
Written By
Posted
October 01, 2012 02:47PM
Re: DB connection url for MySQL
October 02, 2012 11:22AM
October 03, 2012 02:16PM
October 03, 2012 02:29PM
October 04, 2012 09:40AM


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.