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.
