After reloading the Windows7 64-bit, want to add MySQL to the system service,
The order is as follows:
Mysqld.exe--install, report the following error:
Install/remove of the Service denied!
Solution:
This error is caused by the fact that the current user does not have administrator privileges. Start--cmd.exe--right, run as an administrator, and then add MySQL to the system service by following the command
Mysqld.exe--install
Httpd.exe-k Install
Advanced Step:
1, mysql5.1 previous version with Mysqld-nt
2. Specify Service name Start script
Mysqld.exe--install mysql5.5--defaults-file= "D:mysql5.5my.ini"
Httpd.exe-k install-n "Apache2.2"-F "d:apache2.2confhttpd.conf
3. Start Stop Service
net start MySQL
net start apache2.2
net stop MySQL
net stop apache2.2
3. Delete Service
Mysqld.exe--remove
Httpd.exe-k Uninstall or httpd.exe-k uninstall-n "Apache2.2"