Annoying "establishing a database connection" after site updates
-
After moving my wordpress blog on another server (higher hosting package) I experienced continuous “Error establishing a database connection” error for ex. after I hit update post or add media file i.e when I do some work in admin/dashboard.
Latest rows from a log are:
[03-Oct-2012 03:18:58] WordPress database error MySQL server has gone away for query SELECT * FROM wp_posts WHERE (post_type = 'page' AND post_status = 'publish') ORDER BY menu_order,wp_posts.post_title ASC made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/astrology/404.php'), get_header, locate_template, load_template, require_once('/themes/astrology/header.php'), wp_nav_menu, call_user_func, wp_page_menu, wp_list_pages, get_pages [03-Oct-2012 03:19:45] WordPress database error MySQL server has gone away for query SELECT option_value FROM wp_options WHERE option_name = '_transient_doing_cron' LIMIT 1 made by _get_cron_lock [03-Oct-2012 04:16:35] WordPress database error MySQL server has gone away for query SELECT option_value FROM wp_options WHERE option_name = '_transient_doing_cron' LIMIT 1 made by _get_cron_lock
I use Hostgator VPS level 7 (5,5cpu 4gb ram). wp-cron is running once a hour from hosting panel, and disabled in wp-option file. database is around 320mb of size, daily traffic is about 5k uniques.
Any clue how to fix annoing site halt or does someone have a deal with it?
Thanks,
A.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Annoying "establishing a database connection" after site updates’ is closed to new replies.