Note that there are some explanatory texts on larger screens.

plurals
  1. POWordpress - Error establishing a database connection
    primarykey
    data
    text
    <p>Having changed nothing on my Wordpress based site, a few days ago it simply stopped functioning. Prior to that, I was getting a larger than normal number of "site down' messages from a service that I use to monitor this site.</p> <p>Now, all I get when trying to access the site is the error listed in the title. ONLY the message "Error establishing a database connection" shows on the page - nothing else.</p> <p>I have other blog sites running on the same server and they are all still functioning. I can access the database for this website with phpmyadmin no problem. I have also done a "repair" on the wp-options table through phpmyadmin (recommended on another site).</p> <p>Lastly, I created a new php file that makes a connection to the database and then echo's data from the database upon connection. I transferred all database connection data directly from the wp-config file for this site to this new php file, so it's connecting with the exact same info.</p> <p>No problems connecting with this file.</p> <p>However, if I clear out this file and then place only the following code in it:</p> <pre><code> &lt;?php require_once '/home/bestsynt/public_html/wp-config.php'; global $current_user; get_currentuserinfo(); $level = $current_user-&gt;user_level; echo $level; ?&gt; </code></pre> <p>I receive the exact same error message. </p> <p>Since this is a relatively high traffic site and it's been down now for two days. Since the problem doesn't appear to be on the "server/host" end, I'm not likely to get much support on that end. It's something to do with Wordpress itself, but I have no idea what.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload