0

I have woocommerce website which give database error from 4-5 days. I checked the error log, the error is:

PHP Warning: Error while sending QUERY packet. PID=31071 in /home/goldenwiggles/public_html/wp-includes/wp-db.php on line 2008

and my hosting account is also suspended can anyone suggest me what to do in case.

  • first thing should be talk to your hosting provider and discuss the matter – Vishwa May 9 at 4:40
  • my hosting provider send me this: kindly refer the below mysql logs: -----------------------------------------------------------------------------------------------------+ | Id | User | Host | db | Command | Time | State | Info | +------+------------------+-----------+--------------------------+---------+------+--------------- | 4377 | goldenwi_gold | localhost | goldenwi_petfood_store | Sleep | 2 | | | | 4378 | goldenwi_gold | localhost | goldenwi_petfood_store | Sleep | 19 | | | | 4379 | goldenwi_gold | localhost | goldenwi_petfood_store | Sleep | 3 | | | – Hakimuddin Saifee May 9 at 4:48
  • not that. do a discussion. – Vishwa May 9 at 4:52
  • About what....... – Hakimuddin Saifee May 9 at 4:54
  • your problem, suspension. they'll surely provide better help other than just sending you some logs. go for technical or sales support – Vishwa May 9 at 4:55
0

Sorry to hear you are getting the "Error while sending QUERY packet' message. The best we can tell, this has to do with the max_allowed_packet_size. This should be able to be set via the php.ini file. You may find more information at this post regarding the issue.

Source: Branex

  • how can i edit mycnf file with cmd – Hakimuddin Saifee May 10 at 7:18
  • Login to your server via SSH. To edit the MySQL settings with nano type the following: nano /etc/my.cnf. Note! ... Find the line to edit. ... Enter Ctrl + O to "WriteOut" or save the settings. Then Ctrl + X to exit. Restart MySQL by typing the following. service mysql restart – Fahad Ur Rehman Khan May 10 at 8:16
  • actually i am unable to connect via ssh putty is showing network error connection refused – Hakimuddin Saifee May 11 at 4:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.