As a result, when I used the free-of-installation MySQL version, I accidentally found a method to operate the Windows service.
As follows:
========================================================== ========
Syntax: SC create | Delete | config service name [parameter]
Main Parameter List:
Start = demand | boot | system | auto | disabled | delayed-auto // start Type
Binpath = binarypathname // executable file path
Depend = dependency (separated by/(slash)
Displayname = <display name> // display name
The role is to create, remove, and reconfigure services in sequence.
For example, you can reconfigure the execution path of MySQL as follows:
SC config MySQL binpath = "new path"
========================================================== ==========
Which of the following Eldest Brother will encounter the problem of uninstalling the service as mentioned in the document,
This method can be used as expected.
SC Delete xx
The program has been uninstalled, but this service item still exists in "Administrative Tools-services". How can I delete it?
A: Delete the installation directory of the service program to start. Run regedit and press enter to enter the registry.
String 3
\ HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services have been deleted and restarted?