Solution to the problem that Mysql service cannot be started

 I don’t know what happened today. The mysql service suddenly stopped. I found many ways to solve it but still couldn’t solve it, so I decided to record how I solved it. 

Uninstall mysql 

 

Delete the mysql installation directory

The default is C:ProgramDataMySQL

 Enter regedit in the system search box to open the Registry Editor

Ctrl+F Enter MySQL and keep searching to delete all references to mysql 

Then reinstall MySQL

Just follow the installation tutorial and it will be installed in a few minutes. 

Guess you like

Origin blog.csdn.net/yzs2022/article/details/130108981