Support » Installing WordPress » Error establishing a database connection

  • when i reload my wp site its showing me about update Ver. please click here to update to latest Version. after that again i reload my tab its showing my “Error establishing a database connection” what i do in this case please guys its Dem argent…

Viewing 6 replies - 1 through 6 (of 6 total)
  • This is in the wrong place for a question.

    It sounds like the update failed, could be due to incorrect permissions on some of the directories.

    You will need to manually update WordPress to rectify the issue.

    Moderator Mark Ratledge


    Forum Moderator

    @bioshox: You’re completely wrong.

    @bhautikawa: An automatic update will not break the database connection or change settings. You need to check to see if you still have a wp-config.php file and if so, check with your host for the correct database connection info. Or, the whole problem could simply be your web host is temporarily down.

    I moved a site a few days ago. It has had no issues at all. It is a WP site moved to a subdirectory.

    The site is

    It has been fine until this morning when I was changing some images (no other changes & none made to wp-config file). I received the message “Error establishing database connection”.

    The main site is still “live” ( so I have to assume it is not the hosting. Any suggestions?


    -Check you have actually created a database with the same database name as is in your wp-config.php file.

    Thank’s a lot members my error is rectified Thank’s a lot one’s again

    Your welcome.It never happened to my webiste.
    [Link removed]

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