Doodle
Doodle
Computer Science
07 Aug 2018

Error establishing database connection

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

07 Aug 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

Computer Science
07 Aug 2018

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

Share this content on your social channels -

Only logged in users can reply.