U.S. DollarEuroBritish PoundCanadian DollarsAustralian DollarsIndian RupeesChina Yuan RMBMore Info →
We stand with our friends and colleagues in Ukraine. To support Ukraine in their time of need visit this page.
How to fix Error Establishing A Database Connection in WordPress
In this article we will cover the most common cause of Error Establishing A Database Connection error – misconfiguration of database access details.
Make sure that the following conditions are met:
Database name matches the existing database name
Username of the assigned database user matches the existing database username
Password matches the one assigned to the specified database user
Specified user has access privileges to the site’s database.
Database name, database username and its password can be found in the wp-config.php file located in the root directory of your WordPress installation. In order to check these details, do the following: