centos mysql 问题:Plugin 'FEDERATED' is disabled. /usr/sbin/mysqld: Table 'mysql.plugin' doesn't exist

早上看到服务器mysql挂掉了。于是重启mysql,启动失败:

/usr/bin/mysqld_safe: line 183: 23638 Killed                  nohup /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --user=mysql --log-error=/var/log/mysqld.log --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/lib/mysql/mysql.sock < /dev/null > /dev/null 2>&1
MySQL Daemon failed to start.
Starting mysqld:                                           [FAILED]

 

 Mysql错误处理: /usr/bin/mysqld_safe: line xxx: xxxx Killed ...  (mysql自动停止 Plugin FEDERATED is disabled 的完美解决方法)

 

解决:

vim /etc/my.cnf

[root@YoujiePMP ~]# vim /etc/my.cnf

加入配置:

key_buffer=16K
table_open_cache=4
query_cache_limit=256K
query_cache_size=4M
max_allowed_packet=1M
sort_buffer_size=64K
read_buffer_size=256K
thread_stack=64K
innodb_buffer_pool_size = 56M

 

Mysql错误处理: /usr/bin/mysqld_safe: line xxx: xxxx Killed ...  (mysql自动停止 Plugin FEDERATED is disabled 的完美解决方法)

 

 

保存。重启mysql

service mysqld restart

解决之。

相关文章:

  • 2022-01-22
  • 2022-12-23
  • 2021-06-02
  • 2021-09-17
  • 2021-08-27
  • 2022-12-23
  • 2022-12-23
  • 2021-08-08
猜你喜欢
  • 2022-01-04
  • 2021-11-05
  • 2022-12-23
  • 2021-05-21
  • 2022-12-23
  • 2021-10-26
  • 2022-12-23
相关资源
相似解决方案