Digital Marketing

How to fix MySQL: ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 2

This is likely because the client is being denied to access the MySQL server.

Check the server firewall.

 If you are restricting connections, make sure this line is in /etc/hosts.allow:

mysqld: ALL

Or check if the host is listed in /etc/hosts.deny.

Comments

Popular posts from this blog

MySQL Sandbox with the Sakila sample database