WordPress Community Forum
WordPress Support => Fixing WordPress => Topic started by: Chris on Feb 28, 2022, 01:49 AM
Hi,
I have installed WordPress successfully and I installed theme from WordPress admin area. It was working fine several hours ago but now it is showing the following error:
Error establishing a database connection
I did not make any changes in database or database user. How can I fix it?
Thanks,
Hello,
There can be several reasons for this error as follow:
[1] If there is any issue with MySQL service on the server. If other MySQL related websites are working fine, this should not be the reason.
[2] If there any database table corruption, you may receive this error. You can try to repair the table from phpMyAdmin or from control panel (if there is any option).
- Kailash