mysql中mysql数据库丢失报错Can't open the mysql.plugin table
2023-02-18 16:29:14 时间
180720 10:00:54 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it. 180720 10:00:54 InnoDB: Initializing buffer pool, size = 8.0M 180720 10:00:54 InnoDB: Completed initialization of buffer pool InnoDB: Error: log file ./ib_logfile0 is of different size 0 5242881 bytes InnoDB: than specified in the .cnf file 0 5242880 bytes! 180720 10:00:54 [ERROR] Plugin 'InnoDB' init function returned error. 180720 10:00:54 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 180720 10:00:54 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host'
1.解决:mysql_install_db --user=mysql --basedir=/usr/ --ldata=/var/lib/mysql/
2.查看分析错误
vim /var/lib/mysql/instance-ggicik0l.err
相关文章
- CSS之旅——第三站 强大的伪选择器
- 性能分析中看到螺旋线的影子
- CSS之旅——第二站 如何更深入的理解各种选择器
- 风螺旋线的画法比较(三)
- CSS之旅——第一站 为什么要用CSS
- 风螺旋线的画法比较(二)
- 记录一些在用wcf的过程中走过的泥巴路 【第一篇】
- 风螺旋线的画法比较(一)
- 风螺旋线的进入
- 3D转弯保护区长啥样?
- 风螺旋线公切线的算法
- 风螺旋线的外扩算法
- 风螺旋线的切线(二)
- 风螺旋线的切线(一)
- 风螺旋线的公式
- 风螺旋的核心是旋转
- 偏流角为什么是arcsin(w/V)
- H3C路由交换 Smart Link & Monitor Link
- 在 C# 9 中使用 foreach 扩展
- 如何实现隐式类型转换