Become The Solution Chicago Logo

Become The Solution Chicago Logo

Search Become The Solution:

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

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

If your MySQL service suddenly stopped accepting connections and you receive an error trying to connect to your MySQL server instance, try to increase the connect_timeout variable in the my.cnf file shown below. For more information, refer to the MySQL documentation here.

 

MySQL Error message:

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

 

The suggested value to apply is 10 seconds. You can increase to 30 seconds or higher if you continue to receive the error.

 

In my.cnf file, add:

connect_timeout = 10

 

Restart MySQL.

1

Related Posts

 

Comments

No comments made yet. Be the first to submit a comment
Guest
Sunday, 20 January 2019
Follow Us Online!
Become The Solution Facebook PageBecome The Solution Twitter Solution ChicagoBecome The Solution Google PlusBecome The Solution InstagramBecome The Solution LinkedInBecome The Solution YouTube

Subscribe to Become The Solution!