Re: Unable to connect using Connector JDBC
Posted by: Filipe Silva
Date: April 02, 2018 12:42PM

Hi,

Do you have a firewall blocking traffic from port 3306 on the machine running the MySQL Server?

The JDBC Connector has nothing to do with this issue. It just establishes a TCP connection to the given IP and port. If your network infrastructure is blocking it there's nothing it can do.

You can test connectivity between client and server machines by executing this simple telnet command in a client shell:
$ telnet 192.168.nnn.nnn 3306
If you get some response from the server, you should also be able to connect using Connector/J or workbench.

IHTH

Options: ReplyQuote


Subject
Written By
Posted
Re: Unable to connect using Connector JDBC
April 02, 2018 12:42PM


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.