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.

In Wordppress you can solve it by wp-config.php file with is at your main directory.

* 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?

You Tube :

http://www.youtube.com/watch?v=-xu1zWxNBh0&noredirect=1

IF you get the error message 404 file not found on this server then check your .htaccess file.
My .htaccess file is as below………

RewriteEngine on
RewriteRule !\.(js|ico|gif|jpg|png|css)$ index.php

Hope this will Help You..

Comments