MYSQL 5.7 cannot be started (cocould not open error log file errno 2), mysqlerrno

Source: Internet
Author: User

MYSQL 5.7 cannot be started (cocould not open error log file errno 2), mysqlerrno

Two days ago, computer viruses appeared to have deleted the mysql log. err file. Then the service cannot be started: cocould not open error log file errno 2.

Then Baidu is crazy. Most of the search results are not like me, and only a few of them are the same as me.

Students in the same situation as me:

I found that their methods could not solve my problem, and I still did not find a solution after a busy morning.

How can I test the code without mysql ~

In desperation, I had to prepare to reinstall mysql, but could not bear to uninstall it. I had to pray that it would be able to overwrite and install it. I did not expect a miracle to happen !!!

The installation program of mysql 5.7 has the repair function !!!

As a result, it's easy to get things that haven't been done in the morning ~

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.