Report this

What is the reason for this report?

Lost connection to MySQL server at 'reading initial communication packet', system error: 0

Posted on March 31, 2019

Hi,

I saw many Q&As regarding this problem. Here is what I did for troubleshooting:

  • I saw that the server is listening on the SQL default port: netstat -ntlp | grep 3306 tcp6 0 0 :::3306 :::* LISTEN 3092/mysqld

  • /etc/mysql/my.cnf was empty

  • IpTables was empty.

  • telnet <My IP> 3306 -> resulted in correct manner

I feel a little bit clueless… If someone can help I would be gracious. Also, I would be happy to understand exactly what does this error say, b/c if I try to connect with my MySQL workbench to some random IP I get a different error.

Many Thanks, Tomer.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.