View Feed
Coffee Room
Discuss anything here - everything that you wish to discuss with fellow engineers.
12914 Members
Join this group to post and comment.
Doodle • Aug 7, 2018

Error establishing database connection

while  try to host my site i faced this issue,can anyone tell me what be the reason

Kaustubh Katdare
Kaustubh Katdare • Aug 7, 2018

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?

Manish Goyal
Manish Goyal • Aug 7, 2018

seems you are using wordpress , check your db credentials defined in wp-config.php

Share this content on your social channels -