All websites on my server this morning were reporting "Error establishing a database connection". I rebooted the server through WHM and everything came back online - I assumed it was caused by an automatic update to WHM version 96.0.13 - 2021-07-19 [security] TSR-2021-0004.
Is there a setting or method for the server to automatically restart MySQL when this happens? And sends me an email when a website loses database connection?
Here's the server software:
CloudLinux, Apache 2.4, PHP 7.4 (All PHP Opts, and mod_hostinglimits), and Ruby 2.7, OpCache.
MySQL 5.7 (I will be updating this to MariaDB 10.3 this evening).
Is there a setting or method for the server to automatically restart MySQL when this happens? And sends me an email when a website loses database connection?
Here's the server software:
CloudLinux, Apache 2.4, PHP 7.4 (All PHP Opts, and mod_hostinglimits), and Ruby 2.7, OpCache.
MySQL 5.7 (I will be updating this to MariaDB 10.3 this evening).
Last edited by a moderator: