本文主要是介绍521源码-免费源码-免费教程-宝塔环境:MySQL5.6、5.7、数据库无法启动解决方案报错,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
更多网站源码免费源码学习教程,请点击👉-521源码-👈获取最新资源
/www/server/mysql/bin/mysqld: Shutdown complete
MySQL版本5.6 错误如下
190228 9:19:43 [ERROR] Can't init tc log
190228 9:19:43 [ERROR] Aborting
190228 9:19:43 InnoDB: Starting shutdown...
190228 9:19:44 InnoDB: Shutdown completed; log sequence number 1595685
190228 9:19:44 [Note] /www/server/mysqi/bin/mysqld: Shutdown complete
190228 9:27:50 [Note] Plugin FEDERATED" is disabled.
190228 9:27:50 InnoDB: The InnoDB memory heap is disabled
190228 9:27:50 InnoDB: Mutexes and rw_locks use GCC atomic builtins
190228 9:27:50 InnoDB: Compressed tables use zlib 1.2.3
190228 9:27:50 InnoDB: Using Linux native AIO
190228 9:27:50 InnoDB: Initializing buffer pool, size = 128.0M
190228 9:27:50 InnoDB: Completed initialization of buffer pool
190228 9:27:50 InnoDB: highest supported file format is Barracuda.
190228 9:27:51 InnoDB: Waiting for the background threads to start
190228 9:27:52 InnoDB: 5.5.61 started; log sequence number 1595685
/www/server/mysql/bin/mysqld: File './mysql-bin.000012' not found (Errcode: 2)
190228 9:27:52 [ERROR] Failed to open log (file ‘/mysql-ben.000012', ermo 2)
190228 9:27:52 [ERROR] Could not open log file
190228 9:27:52 [ERROR] Can't init tc log
190228 9:27:52 [ERROR] Aborting
190228 9:27:52 InnoDB: Starting shutdown...
190228 9:27:54 InnoDB: Shutdown completed; log sequence number 1595685
190228 9:27:54 [Note] /www/server/mysqi/bin/mysqld: Shutdown complete
是因为MySQL日志文件找不到或者损坏。
打开SSH终端 复制以下命令 确定即可修复
/etc/init.d/mysqld stop
rm -f /www/server/data/ib_logfile*
rm -f /www/server/data/mysql-bin.*
/etc/init.d/mysqld start
这篇关于521源码-免费源码-免费教程-宝塔环境:MySQL5.6、5.7、数据库无法启动解决方案报错的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!