Support » Fixing WordPress » 503 errors after upgrade to 3.1.1

  • Hi,

    Following an upgrade to WordPress 3.1.1, we are experiencing many 503 server errors and occasionally seeing the “Error establishing a database connection” screen.

    We have 2 servers as follows.
    Debian 5.0.8

    Debian 5.0.7
    MySQL 5.0.51a-24+lenny4

    Any ideas about what could be going wrong?


Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator t-p


    Error connecting to your database is common, but it isn’t necessarily a problem with wordpress itself.

    -First, double check your wp-config.php file settings for the database name, database username and database password. This is where most errors occur.

    -Then check that you don’t need to change the database host from “localhost” to something else. You can get that info from your hosting provider.

    -Check you have actually created a database with the same database name as is in your wp-config.php file.

    -Last, but not least, if all that information is correct your database probably has a problem with it, and you may need to contact your hosting provider.

    There are also many threads on this topic on these forums:

    Thank you for your reply.

    The database settings are okay – the problem is intermittent, so the connection is usually successful.

    I’ve been running a diagnostic loop in PHP where I establish and then close a connection every second. It failed once with a “Too many connections error” which could be the cause of the problem.

    I have noted that when the database is unavailable, there are a large number of MySQL processes in the “Locked” state. These processes are performing queries related to the WordPress database. What could cause so many processes to become “Locked”?


    I have the same problème since i have uprgaded to WP 3.1.1. It’s the first time that it happens to me.

    PHP Version 5.2.17
    Mysql version 5.0.67
    Hoster 1&1


Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘503 errors after upgrade to 3.1.1’ is closed to new replies.