mysql windows 启动提示错误
D:\work\mysql-5.6.24-win32\bin>net start mysqld
The service name is invalid.
More help is available by typing NET HELPMSG 2185.
这是因为用net start命令起动的都是在windows中注册过的服务,如果在services中没有,那么就会提示该服务名无用
D:\work\mysql-5.6.24-win32\bin>mysqld --install
Service successfully installed.
D:\work\mysql-5.6.24-win32\bin>net start mysql
The MySQL service is starting.
The MySQL service was started successfully.
值得提示的是该服务曾经安装过,不知何时自己又没了,需要重新注册,安装。