How did I fix «[System] [MY-013172] [Server] Received SHUTDOWN from user <via user signal>» for MySQL in Ubuntu 22?

Step 1

How to diagnose unattended upgrade errors in Debian / Ubuntu?

Step 2

How did I fix «update-alternatives: error: alternative path /etc/mysql/mysql.cnf doesn't exist»?