Error establishing a database connection
-
Hello!
I have installed MAMP on my pc running windows 7 to develop a local website using wordpress. I have access to phpmyadmin so my database server is not down, and I am also 110% sure that my wp-confq.php file is accurate with the correct database, host, username, and password. I created a database called “wordpress” and am on the localhost. By default I am under the impression that I am to use “root” for the username and password.
I keep getting 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 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?”I have checked all of my firewall settings as well to make sure they are not blocking access to the server.
I have searched several forums but cannot seem to find the answer after two days of research. Thank you in advance!
- The topic ‘Error establishing a database connection’ is closed to new replies.