while opening your website if an error appears saying 'not able to establish a connection with database'. It may be because  wp-config.php file present in /home/public_html is not configured properly.

        To resolve this issue open the wp-config.php in the editor and add the following information :

  • Add your database username in the configuration file.
  • Add your database password in the configuration file

save the configuration file and exit.


Was this answer helpful? 0 Users Found This Useful (0 Votes)