程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 數據庫知識 >> MYSQL數據庫 >> MySQL綜合教程 >> mysql自動停止 Plugin FEDERATED is disabled 的完美解決方法,pluginfederated

mysql自動停止 Plugin FEDERATED is disabled 的完美解決方法,pluginfederated

編輯:MySQL綜合教程

mysql自動停止 Plugin FEDERATED is disabled 的完美解決方法,pluginfederated


這兩天新買的服務器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
解決

  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved