MySQL cannot be started

Source: Internet
Author: User
Recently encountered a problem, MySQL cannot be started, and after reinstalling it to StartService, it will fail to find my from the Internet. if the database engine in ini is changed to MyISAM, you can use the default-storage-engineINNODB and default-storage-engineMYISAM for personal testing. MySQL can be used, but it is not fundamentally solved.

Recently encountered a problem, MySQL cannot be started, after reinstalling it to the Start Service, it will fail to find my from the Internet. change the database engine in ini to MyISAM. You can use default-storage-engine = INNODB and default-storage-engine = MYISAM for personal testing. MySQL can indeed be used, but not fundamentally

A problem occurred recently. MySQL cannot be started. After being reinstalled, it fails to Start the Service.

You can change the database engine in my. ini to MyISAM from the Internet.

Before Modification

Default-storage-engine = INNODB
After modification
Default-storage-engine = MYISAM
In my personal test, MySQL can be used, but it does not fundamentally solve the problem that the Innodb engine cannot be started.

Check the log to find this error

Plugin 'innodb' registry as a storage engine failed
The reason is that the logfie file is locked due to a database exception. Even if MySQL is reinstalled, this logfie still exists.

Delete the id_logfile * in the MySQL database file. The problem is solved and the Innodb engine starts properly.

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.