WordPress.org

Ready to get started?Download WordPress

Forums

Upgrading From 1.5 to 1.5.1.2 (11 posts)

  1. lisar915
    Member
    Posted 8 years ago #

    Hey everyone,

    When I try running upgrade.php, I get the following error message:

    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?

    Now I know I have the database user name and password in the wp-config.php file. Does anyone have any suggestions?

    Thanks!
    Lisa

  2. hooopla
    Member
    Posted 8 years ago #

    Have you checked with your host to make sure that apache's running?

  3. hooopla
    Member
    Posted 8 years ago #

    Also...assuming the problem is with apache, it might be worth trying the update again. Someone else may have reported the problem and your host may have restarted apache...

  4. lisar915
    Member
    Posted 8 years ago #

    Thanks hoopla. I haven't checked with my host since I had to step out, but I will now that you've mentioned it.

  5. lisar915
    Member
    Posted 8 years ago #

    Hey again folks, I just checked on my host's website and it says that everything is up and running just fine. And I'm still getting that error message about not being able to establish a database connection. Does anyone know what else the problem could be? Thanks again.

    Lisa

  6. jalenack
    Member
    Posted 8 years ago #

    This may seem obvious, but are you using the exact same wp-config.php that you were using previously? It didn't get copied over when you uploaded the 1.5.1.2 files did it?

  7. lisar915
    Member
    Posted 8 years ago #

    Actually, I think I deleted the original wp-config.php file. But I've made a new one and changed my database password, but still I get that same error message.

  8. masquerade
    Member
    Posted 8 years ago #

    Has your database access information changed? Have you double checked to make sure that you have the right username and password. If your hosting is with cPanel, did you remember to append yourcpanelusername and an underscore to whatever the database name and database username you gave it?

  9. lisar915
    Member
    Posted 8 years ago #

    I'm positive I entered my SQL database name and user name and password correctly.

  10. lisar915
    Member
    Posted 8 years ago #

    I mean I keep checking it and everything looks correct.

  11. jalenack
    Member
    Posted 8 years ago #

    Well something must be amiss in that config file. Try starting a completely new database and see if you can connect to it. What host do you have? Do they have information about connecting to MySQL?

    Sorry, but something in my gut tells me you've made a silly mistake that you'll be kicking yourself over when you figure it out. Quadruple check the config. Good luck!

Topic Closed

This topic has been closed to new replies.

About this Topic