• After running the update to 3.4.1 which ran fine, I was then prompted to update the DB. I’m getting the following errors after running the page. I am able to view and login to the site, but If try to go to any of the admin pages, I’m redirected back to the page asking me to update the db. Below are the errors i get after it runs. Would appreciate any help getting this fixed. Thanks.:

    WordPress database error: [MySQL server has gone away]
    DELETE FROM wp_usermeta WHERE meta_key = ‘themes_last_view’

    WordPress database error: [MySQL server has gone away]
    SELECT autoload FROM wp_options WHERE option_name = ‘uninstall_plugins’

    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = ‘active_plugins’

    WordPress database error: [MySQL server has gone away]
    INSERT INTO wp_options (option_name, option_value, autoload) VALUES (‘db_version’, ‘21115’, ‘yes’) ON DUPLICATE KEY UPDATE option_name = VALUES(option_name), option_value = VALUES(option_value), autoload = VALUES(autoload)

    WordPress database error: [MySQL server has gone away]
    INSERT INTO wp_options (option_name, option_value, autoload) VALUES (‘db_upgraded’, ‘1’, ‘yes’) ON DUPLICATE KEY UPDATE option_name = VALUES(option_name), option_value = VALUES(option_value), autoload = VALUES(autoload)

    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = ‘home’

    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = ‘siteurl’

Viewing 4 replies - 1 through 4 (of 4 total)
  • double check your wp-config.php file settings for the database name, database username and database password. This is where most errors occur.

    Do you have access to MySQL’s log files? The real problem is probably what happened right before you started getting those messages.

    Maybe your MySQL is down? Might wanna check with your hosting company to see if it is still online. It’s very rare, but it does happen (it happened to me once).

    That is why I asked about the logs. The MySQL server is almost certainly down. What took it down would have happened just before those messages started.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘errors updating db after running update’ is closed to new replies.