WordPress.org

Ready to get started?Download WordPress

Forums

Simple Install Error- Difficult Resolution (3 posts)

  1. RobertBruce
    Member
    Posted 8 years ago #

    For the past week I have been attempting to install WordPress. Since Monday I have been thwarted in this by a simple problem which my host do not appear to be able to resolve:
    =====================================
    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?
    =========================================

    The stack of twice daily emails to my host's support unit that have accumulated and continues to grow is unreal. I have tried so many variations of username, DB name and the creation and deletion and re-creation of a new MySQL DB. All to no avail. Both day and nightshift support crews do not seem to be able to come up with a fix.

    Has anyone else had this type of problem before and then somehow just got it fixed? NB: Changing host is not an option.

    If yes, please tell me how

  2. petit
    Member
    Posted 8 years ago #

    If you host offers MySQL as part of a payed agreement, they should be able to solve the problem.
    For exapmle, the should be able to come up with a simple PHP script ( that's comleately outside WordPress ), that contacts your database and spits out the content of one table.
    Once they fix this, you can compare the connection part of that script with what WordPress does.

  3. Slappo
    Member
    Posted 8 years ago #

    I don't know if your problem is the same as mine, but basically I deleted the user, and then recreated it exactly as it was. For whatever reason, that seemed to fix my elusive db connection problem.

    http://wordpress.org/support/topic/64526

Topic Closed

This topic has been closed to new replies.

About this Topic