Lost Connection to MySQL/MariaDB Server During Query

Lost connection to MySQL server during query

Try the following 2 things ...

1) Add this to your my.cnf / my.ini in the [mysqld] section
max_allowed_packet=32M
(you might have to set this value higher based on your existing database).
2) And then restart mysql
service mysql restart
Lost Connection to MySQL/MariaDB Server During Query

Komentar