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 ~