Tuesday, June 14, 2022
HomeWordPress DevelopmentWordPress database error MySQL server has gone away for question, however works...

WordPress database error MySQL server has gone away for question, however works effective when question is executed uncooked on MySQL


I’ve an extended choose assertion to execute on WordPress which all the time did not be question and log error “WordPress database error MySQL server has gone away for question”. After I queried the identical choose assertion uncooked on MySQL, I wouldn’t have this error. The error solely occur when the choose assertion is queried from WordPress.

How can we stop this from occurring?
What I’ve executed is enhance max_allowed_packet=256M in my.cnf and restarting mysql.
This error occur ceaselessly to a number of choose assertion even the only one. This error typically trigger the MySQL service to cease and I’ve to enter the server to restart it once more.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments