In windows, the command line start and Manual start methods for starting the mysql service have encountered the problem that the mysql service cannot be started. When I check the Internet, many people may also encounter the problem that the mysql server cannot be started, therefore, I simply sorted out the articles on how to start the command line and manually start mysql service in windows, so that you can refer to friends who encounter similar problems. Www.2cto.com 1. Start the mysql service on the GUI. Follow these steps to start the mysql service on the GUI: (1) Open Control Panel> Administrative Tools> services, as shown in:
As you can see, the current status of Mysql service is not started (all started are not written). Open a small window in the corresponding line:
Click the "Start" button to start the mysql service. At this time, the enabled status is displayed, and the service list is refreshed. In this way, the mysql service is started through a graphical interface. To close the service, click the stop button in this small window. 2. Start the mysql service under the command line. The following describes how to start the mysql service through the command line: (1) first find the mysql installation location, for example, my computer installation location is: D: \ Program Files \ MySQL Server 5.0, I will perform the following operations: www.2cto.com start-> Run-> enter "cmd" to open the command line, and then enter "D: "To drive D.
Go to the bin directory under the Mysql directory,
(2) enter the mysql command line service enabling command: net stat mysql (the corresponding service closing command is net stop mysql ):
You can see that the mysql service is started through the command line. These are the methods and steps for starting and manually starting the mysql service through the command line in windows. I hope to help you.