Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Apr 2014
    Location
    india
    Posts
    407

    Why am I seeing a MySQL error on my Wordpress page?

    How to fix the 'Error Establishing a Database Connection' in Wordpress page ??

  2. #2
    Registered User
    Join Date
    Oct 2016
    Posts
    188
    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 best2339903321.db.2339903.hostedresource.com:3308. This could mean your host's database server is down.

  3. #3
    Member
    Join Date
    Oct 2017
    Posts
    87
    If you have been surfing the web for a while, you have at least seen this error a few times. Error Establishing a Database Connection is one of those curses that could be caused by many reasons. As a WordPress beginner, this could be awfully frustrating specially when it happened on its own without you changing anything. We ran into this issue yesterday on our own site. It took a little over 20 minutes to detect and fix the problem. While doing the research to find possible causes, we realized that there was no good article that covered everything. In this article, we will show you how to fix the error establishing a database connection in WordPress by compiling a list of solutions all in one place.

  4. #4
    Registered User
    Join Date
    Jan 2018
    Posts
    188
    While the error is pretty straight-forward, the error page unfortunately tells you nothing about the problems which cause it – something hopefully some WordPress guru will address in the future. The fact is, there could be a number of reasons why your database is inaccessible. Unless you’ve really been tinkering with your PHP and site settings, the common causes fall into one or more of these three basic categories:

    1. Login Credentials

    Your database requires two separate items authenticate any user, WordPress or otherwise. That’s your login name and password. If those credentials have been changed, your database can’t be accessed, and no info means no page.

    2. Corrupt Database

    It does happen, for several different reasons, from malware or bad plugins, to problems at your host server (hopefully a reputable host company will have things running again ASAP).

    3. Corrupt Files

    Sometimes a single php file can have internal errors, if for instance you’ve had some kind of malware or a bad plugin that doesn’t work quite like it’s supposed to. Sometimes it’s not the php but another file the php is asked to open as part of your page.

    4. Server not Available

    Sometimes the server just can’t be reached. It may be down for maintenance, overwhelmed with traffic and unable to support new connections. Maybe there is a problem with your ISP and Internet connection, or browser.

  5. #5

  6. #6
    Registered User
    Join Date
    Jan 2018
    Posts
    188
    Quote Originally Posted by loveguruji View Post
    Thanks for share it.
    You are welcome.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

  Find Web Hosting      
  Shared Web Hosting UNIX & Linux Web Hosting Windows Web Hosting Adult Web Hosting
  ASP ASP.NET Web Hosting Reseller Web Hosting VPS Web Hosting Managed Web Hosting
  Cloud Web Hosting Dedicated Server E-commerce Web Hosting Cheap Web Hosting


Premium Partners:


Visit forums.thewebhostbiz.com: to discuss the web hosting business, buy and sell websites and domain names, and discuss current web hosting tools and software.