Warning: Error while sending QUERY packet.
I did a search on my website and received my results (that 'no results were found') and at the top of the page, this error message:
Warning: Error while sending QUERY packet. PID=22319 in /home/-----/public_html/domain.tld/2016/wp-includes/wp-db.php on line 1868
I did another search and received results and no error message, so I did a search for something I knew was not on the website. Again no error message.
Searching Wordpress forums for this error, I found this reply:
If on a VPS, you"d update those values in your mysql/maria config files then restart the database service.
I don't know how to do this. I am new to VPS. My website was just moved to VPS yesterday afternoon.
Do I need to update my values?
Thanks.
-
Hello, You should first access your server via the command line as the "root" user using the instructions at: SSH Access - Documentation - cPanel Documentation Then, you can follow the steps below to modify your MySQL configuration: - ]
- Open the /etc/my.cnf file with your preferred text editor.
- Enter a new configuration value or adjust an existing configuration value in the [mysqld] section.
- Save the file.
- Restart MySQL" with the /scripts/restartsrv_mysql script.
0
Please sign in to leave a comment.
Comments
1 comment