MySQL unavailability causes "The number of ISPConfig administrator users has changed. Old: 0 New: 1"

I've noticed that whenever MySQL is unavailable, ISPConfig reports "The number of ISPConfig administrator users has changed. Old: 1 New: 0". When MySQL is again available, the last part of the message is reversed: "The number of ISPConfig administrator users has changed. Old: 0 New: 1". (I may have the message order backwards, but it's probably irrelevant.)

Until it happened a couple of times over a period of months, I didn't bother to search-out an explanation. I started to grow a bit concerned, given that I definitely hadn't modified the administrative user(s), and I found this thread, which explains the issue:

https://www.howtoforge.com/community/threads/alert-security-alert-from-server.66721/

Hopefully, it's not too difficult to add an exception handler that catches the database issue and doesn't cause this false-positive.

Thanks for looking into it!