1, manually register, uninstall, start, stop the MySQL service
Original URL: http://jingyan.baidu.com/article/647f0115b007887f2048a810.html
Manually register the MySQL service.
Enter the DOS window and navigate through the directory to enter the Mysql\bin directory.
C:mysql\bin\>mysqld-nt--install MySQL
Note: Be sure to first go to the MySQL bin directory to execute this command, otherwise perform an error.
Manually uninstall the MySQL service.
Enter the DOS window and navigate through the directory to enter the Mysql\bin directory
C:mysql\bin\>mysqld-nt--remove
Start the MySQL service (method one).
Enter the DOS window:
C:\>net start MySQL
Note: This command succeeds if the MySQL service is already registered, otherwise it cannot start the MySQL service.
Start the MySQL service. (Method Two).
From the computer-managed services, find the MySQL service and start the MySQL service.
Stop the MySQL Service (method one).
Enter the DOS window:
C:\>net stop MySQL
Note: This command succeeds if the MySQL service is already registered, or the MySQL service cannot be stopped by this command.
Stop the MySQL Service (method two).
From the computer-managed services, find the MySQL service and stop the MySQL service.
MySQL Operation record