WordPress.org

Ready to get started?Download WordPress

Forums

Random Database Error (4 posts)

  1. haredx
    Member
    Posted 3 years ago #

    Hi, I have been having an issue with my website http://iphoneblogr.com for a while now. Every once and a while when I try to load the site it will say "Error establishing a database connection" but other people will be able to load the site fine. Then after a minute or two the error just goes away without me changing anything.

    I also have placed my site in a traffic exchange called Sweeva, many people have commented saying that my site doesn't display for them and just gives them the database connection error but I will be on the site at the same time and it will be working just fine for me.

    At first I thought this was an issue with my webhost, HostMonster, so I migrated the whole site to a new host, BlueHost, but the problem still persists. Does anyone know what could be causing this?

    Thanks in advance!

  2. 123milliseconds
    Member
    Posted 3 years ago #

  3. haredx
    Member
    Posted 3 years ago #

    Thanks, but that is not my problem. Like I said, this is not an issue with wp-config. All my database settings are correct. This error occurs randomly and fixes itself without me changing anything.

  4. bh_WP_fan
    Member
    Posted 3 years ago #

    Next time it happens, if possible, use the Error Logs icon in your cPanel to look for error logs specifically related to your domain. If you can, refresh your page several times while the error is there.

    Lots of errors are logged in that location for lots of domains, so ignore anything that doesn't particularly refer to your domain. Try refreshing your page several times while the site isn't coming up, then check the error logs again.

Topic Closed

This topic has been closed to new replies.

About this Topic