MySQL Forums
Forum List  »  Newbie

Re: can not create windows service for MySQL Error:0
Posted by: Neil Saunders
Date: May 12, 2005 04:53AM

I have had this problem before. After a bit of research it was because I was trying to install mysql over an existing version. Try the following:

1. Stop the mysql service through control panel
2. Load a command window
3. Run the command "sc --delete MySQL"

This will remove the service definition from the registry, and fixed it for me.

I believe 'sc' stands for service controller, and is shipped with versions of Windows 2000+. If you don't have it, I have also heard that selecting a different name for the service (e.g. mysql41) in the previous screen also works.

Hope this sorts you out!

Options: ReplyQuote




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.