The MySQL service failed to start, the service did not report any errors
The mysql service was fine yesterday, but it cannot be opened today. There is no problem with my.ini configuration and port. You can only back up the data of data, delete the data folder, and initialize mysqld.
Be sure to back up data data! ! !
mysqld --initialize --console
Copy the last initial password, start the service to log in to mysql, and change the password.
net start mysql
mysql -u root -p
ALTER USER 'root'@'localhost' IDENTIFIED BY '123456';