MySQL is divided into two parts, the server side and the client, only the server-side service is turned on, you can log on to the MySQL database through the client. Here's how to turn on the MySQL client service using the command line method.
Install MySQL software on the computer
I use the Win7 system, open the bottom left corner of the desktop icon, the icon inside the text edit box enter services.msc, and then enter, you can open the Service tab
In the list on the Services tab, locate the MySQL option, and right-click on the standalone selection to start.
Start the corresponding service
If the service is turned off, if the service is started manually, if your MySQL is usually used relatively little, then keep the manual start can be, if usually used more, it is recommended to set it to start automatically, so that each time you have to manually open the service, To set the auto-start method to right-click on the list options MySQL, select Properties, open the Properties tab.
Open the corresponding drop-down list in the Properties tab, select Automatic, then OK, so that every time MySQL starts automatically.
How to turn on the mysql5.5 Client Service command-line open method