MySQL Forums
Forum List  »  Newbie

Re: Re-installing mysql - minor mess
Posted by: Barry Galbraith
Date: September 08, 2021 06:07PM

How to add / remove MySQL service.

From the refman.
https://dev.mysql.com/doc/refman/8.0/en/windows-start-service.html

To remove a server that is installed as a service, first stop it if it is running by executing SC STOP mysqld_service_name or NET STOP mysqld_service_name. Then use SC DELETE mysqld_service_name to remove it:

C:\> SC DELETE mysql

Alternatively, use the mysqld --remove option to remove the service.

C:\> "C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld" --remove

Good luck,
Barry.

Options: ReplyQuote


Subject
Written By
Posted
September 08, 2021 04:39AM
Re: Re-installing mysql - minor mess
September 08, 2021 06:07PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.