HI,
I fixed the problem by restarting the whole server through system reboot.
Lessons learnt:
When we get Error establishing a database connection - ensure database server is running.
If Database server is not running and if there are errors with the MySQL/MariaDB, try rebooting the system...
Hi,
I have been happily running the OLS Wordpress VM on the GCP platform. Suddenly I started getting the "Error establishing a database connection" error.
I tried including the define('WP_ALLOW_REPAIR', true); in WP-config.php file and accessing and fix through...