WordPress.org

Ready to get started?Download WordPress

Forums

Switched Servers Not Working (6 posts)

  1. Keldigo
    Member
    Posted 8 years ago #

    We switched servers and upgraded at the same time. We now have the latest version of PHP (4.4.1) on our server. When we went to pull up the blog we received:

    Error establishing a database connection
    This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at localhost. This could mean your host's database server is down.

    Are you sure you have the correct username and password?
    Are you sure that you have typed the correct hostname?
    Are you sure that the database server is running?
    If you're unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.

    The database is running correctly, the passwords haven't been changed. What are we missing? We are at http://blogs.beyondindigo.com. We even deleted all the files and reinstalled them.

    Maybe we are just groggy from the move...

    Kelly

  2. When you moved the blog files to a different server, did you move the database too? Or, is it still on the other server?

  3. Keldigo
    Member
    Posted 8 years ago #

    The database is on the new server. We moved over everything nothing is left on the other server.

  4. moshu
    Member
    Posted 8 years ago #

    Is "localhost" the DB hostname on the new server, too? Some host companies have different server names...

  5. Keldigo
    Member
    Posted 8 years ago #

    Yep localhost is the same. We are with the same server/host company. We just upgraded to a better server.

  6. Hm, can you safely install a new blog? If not, then that would suggest an overall problem with either Apache, PHP, or MySQL. There have been a few recent reports of problems caused by PHP upgrades, during which the hosting company has forgotten to re-compile certain modules, such as eAccelerator.

Topic Closed

This topic has been closed to new replies.

About this Topic