mysql service failed to start service did not report any errors workaround

Reason for my problem:

Before, I created a data folder under the mysql folder by myself, so when I executed the mysql --initialize command, I couldn't really initialize the data folder.

Solve the problem:

Delete the self-created data, and then execute the command in the bin directory of the MySQL installation directory: mysqld --initialize --console

The data folder was initialized successfully 
and then I tried net start mysql 

Started successfully!

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325978098&siteId=291194637