Error establishing a database connection at /wp-admin/install.php
-
I’ve setup the DB in Cpanel, changed the wp-config-sample.php to wp-config.php and placed my Database name, username, used localhost as my DB hostname etc. into the wp-config.php then uploaded the files to my directory.
Now I try go to /wp-admin/install.php and it shows the 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 localhost. 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 i go to /wp-admin/setup-config.php it shows this error:
Sorry, I need a wp-config-sample.php file to work from. Please re-upload this file from your WordPress installation.Please Help! Thank-you.
- The topic ‘Error establishing a database connection at /wp-admin/install.php’ is closed to new replies.