I am getting the following error when connecting my drupal application to mysql.
<?php
Warning: MySQL server has gone away query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp)
VALUES (1, 'php', <em>MySQL server has gone awaynquery: UPDATE cache SET data =&#039;a:4....
in C:xampphtdocsstudentindiaincludesdatabase.mysql.inc on line 172
?>What does this mean?
2 years 5 days ago
You can check for this error here: Warning: MySQL server has gone away query watchdog
Restart your mysql server and it would solve.
Increase your max packet size in your mysql configuration file (which is my.cnf) and restart mysql server. That would work.