The command line displays "Service name is invalid" when you start mysql

Is displayed when you start mysql: service name is invalid

solve:

STEP1: mysql installation into the directory D: \ mySQL \ mysql-5.7.17-win32; go to the bin directory

STEP2:mysqld --remove

STEP3:mysqld --install

提示:Service successfully installed.

STEP4: net start mysql <Enter>

success!

Guess you like

Origin www.cnblogs.com/WenyueQ/p/12015767.html