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
重啟發(fā)現(xiàn)
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
網(wǎng)上找到的方法
在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
解決
相關文章
詳解MySQL與Spring的自動提交(autocommit)
這篇文章主要介紹了MySQL與Spring的自動提交(autocommit)的的相關資料,幫助大家更好的理解和使用MySQL與spring,感興趣的朋友可以了解下2021-01-01
SQL實現(xiàn)LeetCode(183.從未下單訂購的顧客)
這篇文章主要介紹了SQL實現(xiàn)LeetCode(182.從未下單訂購的顧客),本篇文章通過簡要的案例,講解了該項技術的了解與使用,以下就是詳細內容,需要的朋友可以參考下2021-08-08
Mysql到Elasticsearch高效實時同步Debezium實現(xiàn)
這篇文章主要為大家介紹了Mysql到Elasticsearch高效實時同步Debezium的實現(xiàn)方式,有需要的朋友可以借鑒參考下,希望能夠有所幫助2022-02-02
淺談mysql雙層not exists查詢執(zhí)行流程
本文主要介紹了淺談mysql雙層not?exists查詢執(zhí)行流程,文中通過示例代碼介紹的非常詳細,對大家的學習或者工作具有一定的參考學習價值,需要的朋友們下面隨著小編來一起學習學習吧2023-06-06

