MySQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMySQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old February 3rd, 2004, 12:12 PM
Creatormaster Creatormaster is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 1 Creatormaster User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Re-Installing MySQL under Windows

How can I re-install mysql because I seemed to have misstyped a letter, and it got all messed up. It won't let me delete the c:\mysql folder because of a .exe file. I really need help. Thanks.

Jon

Reply With Quote
  #2  
Old February 3rd, 2004, 06:02 PM
stumpy's Avatar
stumpy stumpy is offline
May contain nuts.
Dev Articles Regular (2000 - 2499 posts)
 
Join Date: Aug 2002
Location: Sydney, AU
Posts: 2,058 stumpy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 8 m 57 sec
Reputation Power: 9
Send a message via ICQ to stumpy Send a message via MSN to stumpy
I just googled... and got this: (note - try stopping and removing the service first)
---------------------------------------------
Uninstall Previous Version of MySQL

This will also answer the question 'How to uninstall MySQL as a service'.

If you want to save your exisiting databases then goto 'C:\mysql\data\' and copy all the sub-folders in there that you want to keep, and paste them into a temporary location. Once your new installation is up and running, you can copy them back into 'C:\mysql\data\' ready for use. Note that this is not exactly the same as the 'upgrade MySQL' method on the mysql website, but works for me.

Whether you have saved your old databases or not, the next step in removing MySQL is then to delete the folder 'C:\mysql\' and all its containing sub-folders.

Then , to remove the service, goto a DOS box and type 'mysqladmin -uroot -p shutdown' , type your master password if it asks for it.

Type in 'mysqld --remove' and this will uninstall and remove the service. You are now safe to proceed to install your new version.
__________________
DevArticles Moderator
BlueSix - Web Development and Consulting

Reply With Quote
  #3  
Old February 5th, 2004, 03:43 PM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 14 m 9 sec
Reputation Power: 8
ya, I was gonna recommend making sure the daemon isn't running...

by chance, could you tell us which exe doesn't want to be deleted? [i'm guessing mysqld.exe]

as an alternate method, although i don't advise it, you could stop the mysqld process running in task manager

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMySQL Development > Re-Installing MySQL under Windows


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway