Re: Communications link failure - when connection string doesnot point to localhost mySQL
Posted by: Filipe Silva
Date: March 27, 2017 11:28AM

Hi,

Have you checked what happens when connecting with the MySQL client? If not, please try it and make sure you set the option --protocol=TCP when starting the client.

You can also check this page to see if there is something that helps: https://dev.mysql.com/doc/refman/5.7/en/problems-connecting.html.

As far as I understand you're able to connect either way but when using IP addresses the socket is closed after some idle time. This seems to be network related and maybe your system is closing those sockets after this time?

Options: ReplyQuote


Subject
Written By
Posted
Re: Communications link failure - when connection string doesnot point to localhost mySQL
March 27, 2017 11:28AM


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.