Error establishing database connection
while try to host my site i faced this issue,can anyone tell me what be the reason
A little more information about your setup would help. That error refers to a condition when your software is unable to establish connection with the database.
Typically this happens when -
1. Your database isn't properly configured
2. Your software's config file doesn't have required credentials to connect to the database
3. Database server is down
Do you have any more information about the error message?
seems you are using wordpress , check your db credentials defined in wp-config.php