Why did I not find the MySQL service in the system "service" after I started the MySQL service with mysqld?
First of all, my service started successfully, because I can open a different cmd window for MySQL login, after logging in to perform various operations.
With phpMyAdmin also all normal, but puzzled is, I in the System Management Tool "service", unexpectedly can not find "MySQL service" this item.
I can also use mysqladmin-uroot-p shutdown to close this service, I normally shut down.
But if I use net stop MySQL to shut down the service, I will prompt
C:\Documents and Settings\aaa>net stop MySQL
System error 1060 has occurred.
The specified service does not exist with the installed service.
What does this mean, why the service is working, but not seen in the management tools-services and cannot be shut down through net stop MySQL.
But the service is really up and can be turned off by mysqladmin-uroot-p shutdown.
In short sentence: MySQL can be used normally, but there is no MySQL system service (so the implementation of net MySQL start (stop) will not be found)
First Use mysqld--install MySQL --defaults-file=<my.ini Full path >
The MySQL server main program is installed as a service, and its service name is MySQL, and you can specify a different name.
Then net start MySQL can start the service.
This place the color of the deepened MySQL is the name of the system service, can be casual, but use net startup to turn off MySQL when you need to write the corresponding MySQL service name to normal use of MySQL
For example:mysqld--install mysql5.5 --defaults-file=<my.ini full path >
When you start MySQL, you need to use the net start mysql5.5
MySQL Build Service