Archive: Uninstall MySQL service


Uninstall MySQL service
Hello everyone,
I write an script, I want to stop and uninstall mysql service.

When I run uninstall.exe I am able to stop the service but not to uninstall it.
I use the next code in my script:

;Delete the mysql service
ExecWait "$INSTDIR\bin\mysqld --remove MySQL --defaults-file=$WINDIR\my.ini"

I don't get any error message with compiling!But the service is not uninstalling.

Any help?
Greets Tulp


You should consult the MySQL documentation as to how it should be uninstalled.