![]() Database name Look for the line: define('DBName', 'Name') The ‘Name’ should match with your database name. My wp is installed in windows C: > MAMP > htdocs > clout-inc > all wp unzipped files. I have tested database connection it works. There are 4 important things to verify here. Database name: wordpress (unless you renamed this during installation) 2. This could mean your host's database server is down.Īre you sure you have the correct username and password?Īre you sure that you have typed the correct hostname?Īre you sure that the database server is running?` The key settings in thewp-config.phpfile that connect your WordPress site to the database are, by default: 1. ![]() 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 localhost. When I install the site I get the following error Now the reason why WordPress is unable to establish a. '/local-config.php' ) ) ĭefine( 'DB_NAME', 'websitedev' ) define( 'DB_USER', 'websitedev' ) define( 'DB_PASSWORD', 'asdqE23ER' ) define( 'DB_HOST', 'localhost' ) // Probably 'localhost' Well in short, you are getting this error because WordPress is unable to establish a database connection. Why do I get the error message Error establishing database connection Confirm your DBNAME variable in your wp-config.
0 Comments
Leave a Reply. |