45fan.com - 路饭网

搜索: 您的位置主页 > 网络频道 > 阅读资讯:如何解决mysql自动停止Plugin FEDERATED is disabled的问题?

如何解决mysql自动停止Plugin FEDERATED is disabled的问题?

2016-05-12 09:23:51 来源:www.45fan.com 【

如何解决mysql自动停止Plugin FEDERATED is disabled的问题?

这两天新买的服务器mysql总是自动停止,查了日志

9:13:57 [Note] MySQL: Normal shutdown
9:13:57 [Note] Event Scheduler: Purging the queue. 0 events
9:13:57 InnoDB: Starting shutdown...
9:13:58 InnoDB: Shutdown completed; log sequence number 0 44273
9:13:58 [Note] MySQL: Shutdown complete

重启发现

9:13:59 [Note] Plugin 'FEDERATED' is disabled.
9:13:59 InnoDB: Initializing buffer pool, size = 8.0M
9:13:59 InnoDB: Completed initialization of buffer pool
9:13:59 InnoDB: Started; log sequence number 0 44273
9:13:59 [Note] Event Scheduler: Loaded 0 events
9:13:59 [Note] MySQL: ready for connections.
Version: '5.1.61-community' socket: '' port: 3306 MySQL Community Server (GPL)
9:14:24 [Note] MySQL: Normal shutdown

网上找到的方法

在MY.INI文件中的 [mysqld] 中增加一行tmpdir="D:/MySQL/data/tmp"
删除MySQL目录下的ib_logfile0和ib_logfile1

测试后没有用

后来在服务中设置了mysql自动重启

最后
[mysqld]
federated

解决
启动正常
10:28:01 InnoDB: Initializing buffer pool, size = 8.0M
10:28:01 InnoDB: Completed initialization of buffer pool
10:28:01 InnoDB: Started; log sequence number 0 44556
10:28:01 [Note] Event Scheduler: Loaded 0 events
10:28:01 [Note] MySQL: ready for connections.
Version: '5.1.61-community' socket: '' port: 3306 MySQL Community Server (GPL)


顺手添加
skip-external-locking
skip-name-resolve
解决


本文地址:http://www.45fan.com/a/question/49302.html
Tags: mysql 停止 Plugin
编辑:路饭网
关于我们 | 联系我们 | 友情链接 | 网站地图 | Sitemap | App | 返回顶部