• I tried to updtae to the latest version of wordpress and it said that I need to upgrade to MYSQL 5 or higher as I was still on version 4. I created I new MySQL 5 databse in my control panel. Now when I try to connect I get the following message:
    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 196.220.41.20:3307. This could mean your host’s database server is down.

    Are you sure you have the correct username and password?
    Are you sure that you have typed the correct hostname?
    Are you sure that the database server is running?

Viewing 1 replies (of 1 total)
  • You need to open up your wp-config.php file located in the directory where you instaleld WordPress. After opening you will see…

    // ** MySQL settings - You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define('DB_NAME', 'wordpress');
    
    /** MySQL database username */
    define('DB_USER', 'root');
    
    /** MySQL database password */
    define('DB_PASSWORD', 'test');

    You will need to modify this information with the new information that you setup with the MySQL 5 database.

    Note: Your information will most likely be different, the above information is just used as a placeholder.

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