• I keep on receiving the following error:

    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 mysqlssd2.zadns.co.za. 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?

    I double checked everything my in the wp-config file all is fine

    Please HELP… 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator James Huff

    (@macmanx)

    If everything in your wp-config.php file is correct, contact your hosting provider and ask why your database server is offline.

    There are 4 credentials to connecting to the database (user, password, database name, and hostname) they all have to be correct.

    If you have something other than ‘localhost’ as your host name and your server also has the MySQL on it, you may want to try setting it to ‘localhost’.

    Other than that, try testing with your credentials using a remote MySQl connection tool such as HeidiSQL, NaviCat, etc.

    If you are 100% sure that all details are correct in your wp-config.php file, something should be wrong with MySQL server or it is possible that one of your database table is corrupted. You should contact your host to check this further.

    Hello,

    Try to reset the password of MySQL database username and update them in config file, make sure the syntax of wp-config.php is correct. If issue still persists, please contact your web hosting provider to check the uptime of their database server.

    Regards,
    Rachith

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Error establishing a database connection’ is closed to new replies.