设为首页 - 加入收藏 ASP站长网(Aspzz.Cn)- 科技、建站、经验、云计算、5G、大数据,站长网!
热搜: 创业者 数据 手机
当前位置: 首页 > 站长学院 > MySql教程 > 正文

MySQL 开启报错 Table mysql.plugin doesn t exist

发布时间:2022-06-29 12:59 所属栏目:115 来源:互联网
导读:启动报错: /opt/szy/bin/mysqld: Table \mysql.plugin\ doesn\t exist 141211 15:06:12 [ERROR] Can\t open the mysql.plugin table. Please run mysql_upgrade to create it. 141211 15:06:14 [ERROR] Fatal error: Can\t open and lock privilege tables:
  启动报错:
  /opt/szy/bin/mysqld: Table \'mysql.plugin\' doesn\'t exist
  141211 15:06:12 [ERROR] Can\'t open the mysql.plugin table. Please run mysql_upgrade to create it.
  141211 15:06:14 [ERROR] Fatal error: Can\'t open and lock privilege tables: Table \'mysql.host\' doesn\'t exist
  141211 15:06:14 mysqld_safe mysqld from pid file /opt/szy/data/mysqldevdb03.pid ended
  
  解决办法:
                 执行如下语句,szy为实例名
                 ./scripts/mysql_install_db --user=szy --basedir=/opt/szy/ --datadir=/opt/szy/data/
 
  重启启动,OK!

(编辑:ASP站长网)

    网友评论
    推荐文章
      热点阅读