• Site (twfineart.com) was working last night when I was rearranging the ‘shop.’ This morning I receive:
    URL: “Error establishing a database connection” for the URL

    wp-admin: “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 twf1314806410114.db.11168390.hostedresource.com. This could mean your host’s database server is down.”

    Contacted Godaddy and they told me there was no problem on their end and that it must be a WordPress issue. I have no idea what I need to change without doing further damage. Any answers much appreciated.

    This is the content of wp-config.php:

    // ** MySQL settings – You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define(‘DB_NAME’, ‘twf1314806410114’);

    /** MySQL database username */
    define(‘DB_USER’, ‘twf1314806410114’);

    /** MySQL database password */
    define(‘DB_PASSWORD’, ‘afd6f794798c’);

    /** MySQL hostname */
    define(‘DB_HOST’, ‘twf1314806410114.db.11168390.hostedresource.com’);

    /** Database Charset to use in creating database tables. */
    define(‘DB_CHARSET’, ‘utf8’);

    /** The Database Collate type. Don’t change this if in doubt. */
    define(‘DB_COLLATE’, ”);

Viewing 4 replies - 1 through 4 (of 4 total)
  • Firstly, change your database password NOW. You’ve jsut posted very secure info on a public webiste… and that will lead to trouble VERY quickly!!!!!!

    Second, if Godaddy has told you that, they are (most likely) wrong.

    If the site has been working fine and then just suddenly stops it means that either the database server has fallen over, or the connection from the web server to the database server has fallen over – both of which are purely host issues.

    Thread Starter shelleyjane

    (@shelleyjane)

    Thanks for your quick response. Have addressed the password and on the line to Godaddy.

    The same for me! This problem is started for me two days ago.
    Sometime without apparent reason the error appare saying that it couldn’t connect to the db.
    Have you solved? How?

    Thank you a lot.
    Guido

    Read what I said above. The same thing applies to you too.

    If the site has been working fine and then just suddenly stops it means that either the database server has fallen over, or the connection from the web server to the database server has fallen over – both of which are purely host issues.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error establishing a database connection’ is closed to new replies.