MariaDB 启动报错Could not open mysql.plugin table

错误如下,搞了我半个钟,很气啊

2019-07-01 22:23:50 0 [Note] InnoDB: Waiting for purge to start
2019-07-01 22:23:50 0 [Note] InnoDB: 10.4.6 started; log sequence number 0; transaction id 7
2019-07-01 22:23:50 0 [Note] Plugin 'FEEDBACK' is disabled.
2019-07-01 22:23:50 0 [ERROR] Could not open mysql.plugin table. Some plugins may be not loaded
2019-07-01 22:23:50 0 [ERROR] Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist
2019-07-01 22:23:50 0 [Note] Server socket created on IP: '::'.
2019-07-01 22:23:50 0 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.db' doesn't exist
2019-07-01 22:23:50 0 [ERROR] Aborting

解决办法

https://mariadb.com/kb/en/library/mysql_install_dbexe/
先执行
mysql_install_db.exe 进行初始化,在bin目录

初始化完成就可以执行mysqld啦。哈哈。有空还是要多看官方文档啊

发布了73 篇原创文章 · 获赞 55 · 访问量 20万+

猜你喜欢

转载自blog.csdn.net/blueboz/article/details/94411939
今日推荐