The perfect solution for mysql to automatically stop PluginFEDERATEDisdisabled _ MySQL

Source: Internet
Author: User
When configuring the server today, a mysql error message is displayed, indicating that the MySQL service cannot be started on the local computer. Error 1067: Unexpected process termination. In fact, this is not the final cause of unexpected process termination. However, it can solve the problem that mysql, the new server purchased in the past two days, always stops automatically and logs are checked.

9:13:57 [Note] MySQL: Normal shutdown
9:13:57 [Note] Event schedents: 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

Reboot discovery

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

Methods found online

Add a line in [mysqld] in the MY. ini file tmpdir = "D:/MySQL/data/tmp"
Delete ib_logfile0 and ib_logfile1 under the MySQL Directory

No use after testing

Later, mysql was automatically restarted in the service.

Last
[Mysqld]
Federated

Solution
Normal startup
10:28:01 InnoDB: Initializing buffer pool, size = 8.0 M
10:28:01 InnoDB: Completed initialization of buffer pool
10:28:01 InnoDB: Started; log sequence number 0 44556
10:28:01 [Note] Event schedents: Loaded 0 events
10:28:01 [Note] MySQL: ready for connections.
Version: '5. 1.61-communit' socket: ''port: 3306 MySQL community Server (GPL)


Add easily
Skip-external-locking
Skip-name-resolve
Solution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.