socialcesspool
New Member
- Messages
- 3
- Reaction score
- 0
- Points
- 0
Hello, i am getting an error with mySQL. I need to increase the "max packet allowed" to something higher. Drupal has a pretty large database once you get alot of modules installed, and it causes this error.
Thanks for your time.
----------------------------------------
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 away\nquery: UPDATE cache SET data =&#039;a:4....
in C:\xampp\htdocs\studentindia\includes\database.mysql.inc on line 172
Solution:
The error is because max packet allowed by mysql has been exceeded.You need to change it.This generally happens whan the table size becomes very large. Therefore, do the following to solve it:
i) Go to xampp\mysql\bin
ii) open my.cnf
iii)change the Max packet Allowed = 64M instead of 8M.
Thanks for your time.
----------------------------------------
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 away\nquery: UPDATE cache SET data =&#039;a:4....
in C:\xampp\htdocs\studentindia\includes\database.mysql.inc on line 172
Solution:
The error is because max packet allowed by mysql has been exceeded.You need to change it.This generally happens whan the table size becomes very large. Therefore, do the following to solve it:
i) Go to xampp\mysql\bin
ii) open my.cnf
iii)change the Max packet Allowed = 64M instead of 8M.