One of the most frequent reasons for the XAMPP issue “MySQL shutdown unexpectedly” is that another program is using the MySQL port. Typically, it is 3306 by default. Restoring a backup or running MySQL with administrator rights won't help if a port conflict led to the shutdown.