There is no startup item in the mysql service

Solution 
Enter the \Windows\System32 directory under the C drive, find cmd.exe under the directory, right-click to select it, and select "Run as administrator" in the pop-up menu. Then go to the installation directory of MySql. Let’s talk about entering here, you must first enter a certain drive letter, such as entering the C drive, you cannot directly enter

D:\MySQL\bin>mysqld.exe -install
Service successfully installed.
At this time, the refresh service list mysql will appear, and you can start it, or you can do the following directly in cmd

Guess you like

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