[resolved] occasional loss of database connection (4 posts)

  1. oldbag66
    Posted 6 years ago #

    Hi ive just set up a website using WP, usually i have no problems what so-ever, but this one has already lost databse connection twice in one day, its a Plesk Apache server and this is the message i get when going to the home page (or any other):

    Error establishing a database connection

    any ideas?


  2. oldbag66
    Posted 6 years ago #

    further clues to help advise me are that, ive recently upgraded from 2.7.1 to 2.8, one of the signed ADMIN USERS reckon its happens when they try to add a post etc

  3. NC@WP
    Posted 6 years ago #

    "Error establishing a database connection" can mean several things.

    If this error comes up intermittently, rather than all the time, it is possible that the DB server is overloaded, so it cannot accept any new incoming connections until one of the existing connections closes.

    If this error comes up persistently in response to a certain action (such as an attempt to create a new post), it may be a permissions issue (the DB user whose credentials WP uses is not allowed to write into a specific DB table).

  4. oldbag66
    Posted 6 years ago #

    thanks, the db server needed a total restart im monitering it over the next few days

Topic Closed

This topic has been closed to new replies.

About this Topic