Re: Installation fails because of previous copy
Posted by: Shawn Green
Date: March 23, 2019 03:54PM

Lost your root password? Read this:

https://dev.mysql.com/doc/refman/8.0/en/resetting-permissions.html

Workbench (the client) cannot connect to a server that is not running. You will need to restart the service if you want to talk to the database server.

If you really want to uninstall (and not fix what you broke), use the Control Panel's interface (that will get rid of at least the binaries and remove the entry from the installed software list)


To manually remove:
delete the binary installation folder (if not already done)
delete your --datadir folder (check your my.ini file)
use the sc command to remove the service definition

sc delete service_name_here

(The service name is not the display name. Service names do not permit spaces while the display names do. Check the properties page of the service to find the service name)
(You will need to be in a cmd shell opened as administrator to run that sc command)

The manual steps will not clear any Registry entries that will make MySQL Community appear as an "installed program" in the Control Panel. Manually manipulating the Registry that way is outside the scope of a forum like this.

--
Shawn Green
MySQL Senior Principal Technical Support Engineer
Oracle USA, Inc. - Integrated Cloud Applications & Platform Services
Office: Blountville, TN

Become certified in MySQL! Visit https://www.mysql.com/certification/ for details.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Installation fails because of previous copy
497
March 23, 2019 03:54PM


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.