When I visit my website it says, Error establishing a database connection, any help please?

0 votes
asked Feb 18 in Shared Hosting by maq (120 points)

1 Answer

0 votes

Good Day,

Hope you are well

This usually occurs when you recently made changes to the website please login to your Clientzone portal and repair the database or restore the website by following these steps below 

Log into ClientZone.
Click on the ‘Hosting’ tab.
Select the domain you want to restore.
Click on the ‘Website Manager’ button and then ‘Log into Website Manager’.
Once in cPanel, select Afribackup restore.
On this page, you will see a list of available restore points, select a date that you know the website was working, click on the plus sign on the left to expand the menu. Then select the browse button.
Double click on the folder you want to restore and select the folder that says public_html.
Click on the Restore Selected button at the top of the screen, and click Restore.

If you require further assistance,

please visit our Help Centre: https://help.afrihost.com/

or see our FAQ page: http://faq.afrihost.com

Thank you  


answered Jul 19 by nthabiseng.m (680 points)