MYSQL启动后报错故障问题的解决办法

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了MYSQL启动后报错故障问题的解决办法相关的知识,希望对你有一定的参考价值。

centos系统有一次异常关机后启动mysql一直报错
#/etc/init.d/mysqld start
Starting MySQL.. ERROR! The server quit without updating PID file (/data/mysql/linux-01.pid).
查看错误日志如下
[[email protected] ~]# tail /data/mysql/linux-01.err
2018-06-28 21:34:28 2726 [Note] Shutting down plugin ‘CSV‘
2018-06-28 21:34:28 2726 [Note] Shutting down plugin ‘MRG_MYISAM‘
2018-06-28 21:34:28 2726 [Note] Shutting down plugin ‘MEMORY‘
2018-06-28 21:34:28 2726 [Note] Shutting down plugin ‘MyISAM‘
2018-06-28 21:34:28 2726 [Note] Shutting down plugin ‘sha256_password‘
2018-06-28 21:34:28 2726 [Note] Shutting down plugin ‘mysql_old_password‘
2018-06-28 21:34:28 2726 [Note] Shutting down plugin ‘mysql_native_password‘
2018-06-28 21:34:28 2726 [Note] Shutting down plugin ‘binlog‘
2018-06-28 21:34:28 2726 [Note] /usr/local/mysql/bin/mysqld: Shutdown complete
解决方法:
#cd /data/mysql/
#ls
aria_log.00000001 ib_buffer_pool ib_logfile1 mysql
aria_log_control ibdata1 linux-01.err performance_schema
auto.cnf ib_logfile0 multi-master.info test
删除ibdata1 ib_logfile0 ib_logfile1 3个文件
#rm ibdata1 ib_logfile0 ib_logfile1
启动mysql
#/etc/init.d/mysqld start
Starting MySQL......... SUCCESS!

以上是关于MYSQL启动后报错故障问题的解决办法的主要内容,如果未能解决你的问题,请参考以下文章

dubbo服务器启动后报错端口被占用

django修改表数据结构后报错的解决办法

Sublime Text 升级后报错‘kill_previous‘问题解决

IDEA 导入 Maven 项目后报错 cannot resolve symbol 解决办法

tomcat启动后报错Bad version number in .class file (unable to load class oracle.jdbc.OracleDriver)

MVC或WebAPI发布后报错404问题的总结