Posts Tagged ‘database login’
Error establishing a database connection in WordPress is one of the worst errors you may get and in my opinion the hardest to troubleshoot as we all know that the developers of WordPress made it really hard for non experienced users to get some useful stuff from the logs. In this tutorial I will try to guide you how to troubleshoot this error and get your wordpress blog up and running once again.
I want to explain that what follows are general instructions how to proceed if you get this error. I will try to generalize the approach to find the root cause of the issue.
The prerequisites are you run the latest available version of WordPress, you use Apache webserver , and you use mysql database. That is pretty much 95% of all WordPress users so we hope to be helpful to majority of the users.
First and most important step is to find out if the username and password are working. All hosting companies offer phpmyadmin to test the connection to the database server. I will not cover instructions of how to do that as all hosting companies offer different control panels. The best advice if you do not know how to test the username and password is to call your hosting provider. The configuration settings about your database login credentials are stored in wp-config.php file. They look like this Read the rest of this entry »