mysql pool not open_安装 MariaDb 时报错:Could not open mysql.plugin table

安装 MariaDb 时报错

2015-12-10 10:52:31 13f4 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.

2015-12-10 10:52:31 5108 [Note] InnoDB: Using mutexes to ref count buffer pool pages

2015-12-10 10:52:31 5108 [Note] InnoDB: The InnoDB memory heap is disabled

2015-12-10 10:52:31 5108 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions

2015-12-10 10:52:31 5108 [Note] InnoDB: Memory barrier is not used

2015-12-10 10:52:31 5108 [Note] InnoDB: Compressed tables use zlib 1.2.3

2015-12-10 10:52:31 5108 [Note] InnoDB: Not using CPU crc32 instructions

2015-12-10 10:52:31 5108 [Note] InnoDB: Initializing buffer pool, size = 16.0M

2015-12-10 10:52:31 5108 [Note] InnoDB: Completed initialization of buffer pool

2015-12-10 10:52:31 5108 [Note] InnoDB: Highest supported file format is Barracuda.

2015-12-10 10:52:31 5108 [Note] InnoDB: The log sequence numbers 1902092 and 1902092 in ibdata files do not match the log sequence number 1902102 in the ib_logfiles!

2015-12-10 10:52:31 5108 [Note] InnoDB: Database was not shutdown normally!

2015-12-10 10:52:31 5108 [Note] InnoDB: Starting crash recovery.

2015-12-10 10:52:31 5108 [Note] InnoDB: Reading tablespace information from the .ibd files...

2015-12-10 10:52:31 5108 [Note] InnoDB: Restoring possible half-written data pages

2015-12-10 10:52:31 5108 [Note] InnoDB: from the doublewrite buffer...

2015-12-10 10:52:31 5108 [Note] InnoDB: 128 rollback segment(s) are active.

2015-12-10 10:52:31 5108 [Note] InnoDB: Waiting for purge to start

2015-12-10 10:52:32 5108 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.26-74.0 started; log sequence number 1902102

2015-12-10 10:52:32 1760 [Note] InnoDB: Dumping buffer pool(s) not yet started

2015-12-10 10:52:32 5108 [Note] Plugin 'FEEDBACK' is disabled.

2015-12-10 10:52:32 5108 [ERROR] Could not open mysql.plugin table. Some plugins may be not loaded

2015-12-10 10:52:32 5108 [ERROR] Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist

2015-12-10 10:52:32 5108 [Note] Server socket created on IP: '::'.

2015-12-10 10:52:32 5108 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist

解决办法

systemctl stop mariadb

rm -R /var/lib/mysql/*

mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql

systemctl start mariadb

  • 3
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值