Re: DB connection url for MySQL
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/
Subject
Written By
Posted
Re: DB connection url for MySQL
October 02, 2012 11:22AM
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.