WordPress.org

Support

Support » How-To and Troubleshooting » Error establishing a database connection

Error establishing a database connection

Viewing 5 replies - 1 through 5 (of 5 total)
  • Please check if you have the correct database name, database username, database password and MySQL hostname in your wp-config.php file. If this doesn’t help, check if you have a working database (i.e., with no empty tables, damaged or corrupt data, etc.)

    placementmantra
    Member

    @placementmantra

    Hi
    problem is intermittent so wp config is ok

    also as per host db etc is also fine

    I am still getting Error establishing a database connection. Generally it is associated with wrong entries as I mentioned above in your wp-config.php file. So, re-check them and also make sure that you have a working database as I mentioned above.

    placementmantra
    Member

    @placementmantra

    its intermittent dear,means entries are proper
    still thanks for reply

    esmi
    Forum Moderator

    @esmi

    If it is intermittent, then it’s a hosting issue.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error establishing a database connection’ is closed to new replies.