Workaround for MySQL5.6.25 not start after reload at Win7 64bit

Source: Internet
Author: User

The reload MySQL5.6.25 is waiting for the service to start when it is installed and configured. If the 1067 error is prompted manually at System service startup, this error is common on the web, but I have tried many methods that cannot be solved.

So look at the Programdata\mysql Server 5.6\data under the ***.err error log, see the error section:

2015-06-04 13:08:19 5200 [Warning] Innodb:doublewrite does not having page_no=0 of space:0
2015-06-04 13:08:19 5200 [ERROR] Innodb:space Header page consists of zero bytes in data file. \ibdata1
2015-06-04 13:08:19 5200 [ERROR] Innodb:could Not open or create the system tablespace. If you tried to add new data files to the system tablespace, and it failed here, you should now edit Innodb_data_file_path In my.cnf back to what it is, and remove the new ibdata files InnoDB created in this failed attempt. InnoDB only wrote those files full of zeros, and did not yet with them in any. But is careful:do not remove old data files which contain your precious data!
2015-06-04 13:08:19 5200 [ERROR] Plugin ' InnoDB ' init function returned ERROR.
2015-06-04 13:08:19 5200 [ERROR] Plugin ' InnoDB ' registration as a STORAGE ENGINE failed.
2015-06-04 13:08:19 5200 [ERROR] unknown/unsupported storage Engine:innodb
2015-06-04 13:08:19 5200 [ERROR] Abort ing

It looks like there was an error in the file content, delete the Ib_logfile0, Ib_logfile1, ibdata1 three files under Programdata\mysql Server 5.6\data. Restarting the MySQL service still 1067 error. Continue looking at the error log:

2015-06-04 13:11:00 Be8 innodb:operating system error number in a file operation.
Innodb:some Operating system error numbers is described at
Innodb:http://dev.mysql.com/doc/refman/5.6/en/operating-system-error-codes.html
2015-06-04 13:11:00 5932 [ERROR] innodb:file. \ib_logfile101: ' Aio write ' returned OS ERROR 187. Cannot continue operation

The last line of the My.ini file in Programdata\mysql Server 5.6 is then added

Innodb_flush_method=normal

Problem solved. (If not, delete the three files and start again)

Workaround for MySQL5.6.25 not start after reload at Win7 64bit

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.