刪除/var/lib/mysql下的三個文件:ibdata1、ib_logfile0、ib_logfile1;
然後使用如下命令,重新初始化mysql
mysqld --initialize --user=mysql