WordPress.org

Ready to get started?Download WordPress

Forums

Error establishing a database connection (6 posts)

  1. placementmantra
    Member
    Posted 11 months ago #

    My site http://www.placementmantra.in is hosted on vps
    for split seconds I am always getting db error
    host is unbale to see it
    any idea how and why its happening?

  2. Krishna
    Volunteer Moderator
    Posted 11 months ago #

    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.)

  3. placementmantra
    Member
    Posted 11 months ago #

    Hi
    problem is intermittent so wp config is ok

    also as per host db etc is also fine

  4. Krishna
    Volunteer Moderator
    Posted 11 months ago #

    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.

  5. placementmantra
    Member
    Posted 11 months ago #

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

  6. esmi
    Forum Moderator
    Posted 11 months ago #

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

Reply

You must log in to post.

About this Topic

Tags