Error Connecting to database

My website URL is:

What I’m seeing is: Error establishing a database connection

I’m using this software: Google Chrome, FileZilla, Windows 10

Additional information:

upon visiting

I am also getting the following:

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 . 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?

If you’re unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.

you should enable display errors via alter php config

@anon19508339, it’s not a problem with the “Display Errors”.
@smbarbados, are you sure the database details are correct? If not follow this guide to help you determine the right credentials, or if the database server is busy or not available wait some time until they fix it, or report it to iFastNet.

1 Like


i told them to do it to show what error is it. like access denied or mysql_* functions or etc

The fatal errors must be solved (if the WordPress gives “Error estabilishing a database connection” it may be on the error log “Access denied for “username”@“” (using password: YES/NO)”) and the “Deprecated” ones may be ignored if the software offers reverse compatibility with the old mysql extension. The softwares of today except WordPress have only support for the mysqli or PDO extensions, while WordPress has both mysql and mysqli extensions to connect to the database, so if one fails it uses the other one.

I got it to work I had the SQL password wrong sorry

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.