[resolved] Database Error (4 posts)

  1. driftingfocus
    Posted 7 years ago #

    I keep getting a database error when I go to my admin page. It says:

    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.

    Sometimes I can access it, but only for a couple minutes, and then it goes down again. My blog is hosted by a friend, and she says that it seems that whenever I change something on the blog (try to make a new post, etc), the mySQL database goes down, and she has to set it back up again. Any idea what might be going on? This happened spontaneously, overnight, with no changes in-between.

  2. Samuel B

    Posted 7 years ago #

    you could have a table(s) crashing on the db
    run a repair on all tables and see if that fixes it

  3. driftingfocus
    Posted 7 years ago #

    How do I do that?

  4. Samuel B

    Posted 7 years ago #

    with your host's phpmyadmin
    once you login to it - just check the box beside the tables and at bottom is a dropdown box - select "repair"

Topic Closed

This topic has been closed to new replies.

About this Topic