2017年2月21日 星期二

mysql unable to start in restored ubuntu 16.04

Linode provides snapshot backup. But mysql unable to start if the system was restored from snapshot image. The solution is simple, just uninstall and reinstall mysql package.

sudo apt purge mysql-server mysql-server-5.7 mysql-server-core-5.7
then
sudo apt install mysql-server