Quickly solve the problem that the mysql57 service suddenly disappears and the mysql57 service disappears
I,
G: \ MySQL Server 5.7 \ bin> mysqld -- initialize
G: \ MySQL Server 5.7 \ bin> mysqld-install
Service successfully installed.
G: \ MySQL Server 5.7 \ bin>
2. Enter the password in the. err file when you enter the password
Attachment:
Use mysqld-install directly before, and an error is returned when the service is started.The MySQL service on the local computer is stopped after it is started. Some services are automatically stopped when they are not used by other services or programs.
Then mysqld -- remove mysql to move the service, and then the above two steps are OK.
If ERROR 1820 (HY000): You must reset your password using alter user statement before executing this statement.
Set password = PASSWORD ('new password ');
The above Article quickly solved the problem that the mysql57 service suddenly disappeared, that is, all the content shared by xiaobian to everyone. I hope to give you a reference and support for the customer's house.