2021-11-24 10:49:34 0 [Note] /www/server/mysql/bin/mariadbd (initiated by: unknown): Normal shutdown
2021-11-24 10:49:34 0 [Note] Event Scheduler: Purging the queue. 0 events
2021-11-24 10:49:34 0 [Note] InnoDB: FTS optimize thread exiting.
2021-11-24 10:49:34 0 [Note] InnoDB: Starting shutdown...
2021-11-24 10:49:34 0 [Note] InnoDB: Dumping buffer pool(s) to /www/server/data/ib_buffer_pool
2021-11-24 10:49:34 0 [Note] InnoDB: Restricted to 251 pages due to innodb_buf_pool_dump_pct=25
2021-11-24 10:49:34 0 [Note] InnoDB: Buffer pool(s) dump completed at 211124 10:49:34
2021-11-24 10:49:35 0 [Note] InnoDB: Shutdown completed; log sequence number 6700407; transaction id 4983
2021-11-24 10:49:35 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2021-11-24 10:49:35 0 [Note] /www/server/mysql/bin/mariadbd: Shutdown complete
以上是引起MySQL无法启动的原因,翻译过来就是,强制重启服务器或者关闭服务器,导致临时表空间,也就是ibtmp1这个文件崩溃或者损坏。致使MySQL无法启动,
解决方案:(可能不止一种)
将/www/server/data目录下的 ibtmp1这个文件挪到 /www/backup/database 目录下,重启MySQL,如果还无法解决,请邮箱联系我
|