Bug #8798 | Installation failed "Cannot Create Windows Service for MySQL. Error: 0". | ||
---|---|---|---|
Submitted: | 25 Feb 2005 0:15 | Modified: | 25 Feb 2005 3:29 |
Reporter: | Tom Ngi | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server: Installing | Severity: | S3 (Non-critical) |
Version: | 4.1.10 | OS: | Windows (Windows 2000 SP 4) |
Assigned to: | CPU Architecture: | Any |
[25 Feb 2005 0:15]
Tom Ngi
[25 Feb 2005 3:29]
MySQL Verification Team
You said: "Initially I installed Mysql server 4.1.10 successfully" and then due to MySQL Administrator and Query Browser failed to write to the registry you edited the registry. Now we can't to guess in which condition you left the Windows registry. Is not recommended to edit the registry. Try to verify via Control Panel if the service of MySQL already exists and it is stopped. When the service is stopped you can remove the service using the server itself for that, issuing the below command from a DOS prompt: mysqld-nt --remove or mysqld-nt --remove service_name. Then remove the MySQL stuff and try to install again.
[25 Apr 2009 0:15]
Steve Tarlton
Oh dude, you MADE MY DAY! I was STRUGGLING with installing 5.1 on a box that I had a 4.x something. I did what one would expect to do by first uninstalling the old server and then tried to install 5.1. I kept getting hung up on the "Start service". I tried all kinds of combination of things and nothing worked until I bumped into this post and ran that magical command: mysqld -nt --remove I firmly believe that this would have not impact but I did it anyway and then removed and reinstalled the software and EVERYTHING WORKED PERFECTLY... THANK YOU THANK YOU I would make a nasty comment to why I had to do this but I have been nothing short of AMAZED at how much MySQL gives away for free and this being the only thing not intuitive to deal with that I have encountered and I have been using the heck out of their free product line... Anyway thanks a million, -Steve Tarlton
[20 May 2011 14:28]
rahmat doels
it doesn't work on me, i installed "mysql-5.5.12-win32.msi". any way to fix it?
[20 May 2011 14:32]
rahmat doels
it doesn't work on me, i installed "mysql-5.5.12-win32.msi". any way to fix it? help me please....