ERROR 2013 (HY000) at line 401: Lost connection to MySQL server during query

ERROR 2013 (HY000) at line 401: Lost connection to MySQL server during query. If you face this error during running MySQL commands simply Increase max_allowed_packet value in this file.

\mysql\bin\my.ini

Ex.

max_allowed_packet=10000M

If you can’t find my.ini file in xampp follow this image.

ERROR 2013 (HY000) at line 401: Lost connection to MySQL server during query
ERROR 2013 (HY000) at line 401: Lost connection to MySQL server during query

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top