Viewing 3 replies - 1 through 3 (of 3 total)
  • Check your database details with your hosts.

    Open your wp-config.php file
    and check the details given below:

    define(‘DB_NAME’, ‘youDatabaseName‘);

    define(‘DB_USER’, ‘DatabaseUserName‘);

    define(‘DB_PASSWORD’, ‘DatabaseUserPassword‘);

    define(‘DB_HOST’, ‘yourHostName‘);

    Probably after rechecking the details will work. Now if everything is fine, means all the entries are correct to your knowledge and still you are getting the same problem, do ask your hosting company for host name. It may be “localhost” is not the host name for your server.

    Hope it will work for you

    [sig moderated as per the Forum Rules]

    Thread Starter fjarecording

    (@fjarecording)

    got it resolved, needed help from the server guys.. thanks though!

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