MySQL boot 1067 error, the system log is "service MySQL stopped unexpectedly" in the MySQL log is: "Plugin \ ' federated\ ' is disabled"

Source: Internet
Author: User
Tags system log

MySQL boot 1067 error, the system log is "service MySQL stopped unexpectedly" in the MySQL log is: "Plugin \ ' federated\ ' is disabled"


The specific contents of the error are:

121012 11:35:03 [Note] Plugin ' federated ' is disabled.
121012 11:35:03 InnoDB:Error:unable to create temporary file; Errno:2
121012 11:35:03 [ERROR] Plugin ' InnoDB ' init function returned ERROR.
121012 11:35:03 [ERROR] Plugin ' InnoDB ' registration as a STORAGE ENGINE failed.
121012 11:35:03 [ERROR] unknown/unsupported table Type:innodb
121012 11:35:03 [ERROR] Aborting


I found a solution on the Internet:

1, in the My.ini file [mysqld] added a line tmpdir= "d:/mysql/data/" modified, or can not start or start but the same problem after the shutdown, then I did a second step, restart normal.

2, delete the data directory in addition to the database folder other files, restart MySQL, problem resolution.

The way I did it, but no, I figured out a way to do it.

The first step:

Just delete the Ib_logfile0 and ib_logfile1 two files in the MySQL directory
Step Two:

Find out why you can't start: MySQL does not automatically initialize the Tmpdir (temporary file directory) when it is installed, so add the Tmpdir path to the configuration file My.ini.

Finally, add the following in My.ini:

[Mysqld]
#自己指定的临时文件目录
Tmpdir= "E:/program files/mysql/mysql Server 5.1/temp/"

MySQL boot 1067 error, the system log is "service MySQL stopped unexpectedly" in the MySQL log is: "Plugin \ ' federated\ ' is disabled"

Related Article

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.