MySQL Forums
Forum List  »  Install & Repo

No UnInstall, No regedit...you're trying too hard!
Posted by: James Williams
Date: May 02, 2009 12:31AM

I found this on another site; it's REALLY easy, and you don't have to uninstall mysql or do any manual regedits.
=============================
After banging my head against my keyboard until the S, Q, and L keys sprang out like shrapnel I finally figured out what the problem is and how to solve it.

I was using the MySQL 4.1.11 Installer on my Window XP computer. After the installation completed the installer automatically jumped into the MySQL Server Instance Config Wizard. When the wizard tried to complete the configuration the “Error: Cannot create Windows service for MySQL. Error: 0,” popped up. This is a Windows System Error.

What is happening is a preinstalled MySQL service is installed and recognized in the Windows background. Weather or not it is disabled the operating system will not allow another MySQL service to be installed. To verify this you can check the Services. Do this by clicking on the…

> “Start Menu”
> “Control Panel”
> “Administrative Tools”
> “Services”

The services are listed alphabetically. Scroll down to find MySQL. If you find it you have found your problem. (Incidentally, while I was in here I right-mouse-clicked on the service and opened properties, stopped the service and then disabled the service. The problem still didn’t go away and my head-banging-against-keyboard started up again.) The solution is to remove the service, but there is no option for that in the Services window. To delete the service you need use the command prompt. Start the command prompt by clicking on the….

> “Start Menu”
> “All Programs”
> “Accessories”
> “Command Prompt”

This will bring up the Command window. To delete the MySQL service type the following…

sc delete mysql

…and hit the enter key. If it is successful the Command Prompt window will give the following feedback.

[SC] DeleteService SUCCESS

For trivia’s sake what you communicate through the Command Prompt window when you type this is…

sc = you contact a command line program used for
communicating with the NT Service Controller
and services

delete = deletes a service from the registry

mysql = the service that gets deleted.

What you do next depend on weather MySQL is still installed. If you didn’t uninstall MySQL click on the…

> “Start Menu”
> “All Programs”
> “MySQL”
> “MySQL Server 4.1”
> “MySQL Server Instance Config Wizard”

Run through the Config Wizard. MySQL should set up with out any problems.

If you already uninstalled MySQL then run though the installer and things should work out.

Options: ReplyQuote


Subject
Written By
Posted
March 26, 2009 06:32PM
April 28, 2009 09:16AM
June 05, 2009 08:59AM
January 19, 2005 09:57AM
August 16, 2007 10:20AM
August 19, 2007 08:57PM
December 05, 2008 10:07PM
April 26, 2009 05:29PM
August 15, 2009 07:47AM
August 30, 2008 11:22AM
No UnInstall, No regedit...you're trying too hard!
May 02, 2009 12:31AM
my
November 18, 2004 05:24PM
February 27, 2005 01:55PM
July 01, 2009 05:46AM
July 01, 2009 03:41PM
July 01, 2009 05:08PM
July 01, 2009 11:52PM
July 09, 2009 02:07AM
July 21, 2009 10:49PM
C S
September 04, 2009 09:09AM


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.