WordPress database error
-
Last weekend my host (1and1), upgraded their servers and broke my site.
When I made a new post, or if I tried to delete a post or draft, I got the following error statement:
WordPress database error: [MySQL client ran out of memory]
SELECT * FROM wp_jb_posts WHERE ID = ‘204’ LIMIT 1WordPress database error: [Lost connection to MySQL server during query]
SELECT * FROM wp_jb_posts WHERE ID = ‘205’ LIMIT 1WordPress database error: [MySQL server has gone away]
SELECT * FROM wp_jb_posts WHERE ID = ’76’ LIMIT 1WordPress database error: [MySQL server has gone away]
SELECT * FROM wp_jb_posts WHERE ID = ’92’ LIMIT 1I have two blogs with the same host running version 2.0.11. The big one broke (over 2,000 posts), the small one did not.
I tried the solution offered at these two sites:
https://www.openadvent.com/blog/?p=30 and
https://robsnotebook.com/wordpress-mysql-gone-away#comment-8411
but it did not work on the big site.My host suggested PHP5. Stating the following:
Try switching to PHP5. Scripts parsed in PHP4
use more memory than PHP5 in our systems. You can switch to PHP5 by
adding line below in your .htaccess file:AddType x-mapp-php5 .php
….and IT WORKED!
- The topic ‘WordPress database error’ is closed to new replies.