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](https://coderog.com/wp-content/uploads/2021/12/ERROR-2013-HY000-at-line-401-Lost-connection-to-MySQL-server-during-query-1024x671.png)