473,545 Members | 2,092 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How Do I Remove MySQL so I can Start Fresh?

KC
Hello

I installed MySQL ver 4.0.20d on a Windows XP Professional PC. I created a
user and database that I would like to delete, and at this point I would
just like to uninstall MySQL and do a fresh installation.

I have deleted MySQL by going to Start > Settings > Control Panel > Add or
Remove Programs. However, when I reinstall MySQL, the previous user and
database are restored, too. How does one do a complete removal of MySQL so
that it can be reinstalled as though it was never on the PC before?

Thanks in advance for any help you can give


Jul 20 '05 #1
5 53300
KC wrote:
I have deleted MySQL by going to Start > Settings > Control Panel > Add or
Remove Programs. However, when I reinstall MySQL, the previous user and
database are restored, too. How does one do a complete removal of MySQL so
that it can be reinstalled as though it was never on the PC before?


After the 2remove programs" part, delete manually the mysql folder,
normally located in C:\mysql\ but the location could be different
depending on where you installed it.

After removing it, there is no way that previous databases could exist,
because they are located there. Users are also part of the database, so
they will be gone also.
Jul 20 '05 #2
KC
Aggro

I did the following and still the old user name and db appear after
reinstallation. .:

1. "Add or Remove Programs
2. Deleted c:\mysql
3. Deleted c:\windows\my.i ni (that file was created when I ran
c:\mysql\bin\wi nmysqladmin.exe to set up MySQL)
4. Rebooted the PC
5. Reinstalled MySQL

The previous user name and db still appears. Is there someplace else this
information is stored?

"Aggro" <sp**********@y ahoo.com> wrote in message
news:cy******** *******@read3.i net.fi...
KC wrote:
I have deleted MySQL by going to Start > Settings > Control Panel > Add or Remove Programs. However, when I reinstall MySQL, the previous user and
database are restored, too. How does one do a complete removal of MySQL so that it can be reinstalled as though it was never on the PC before?


After the 2remove programs" part, delete manually the mysql folder,
normally located in C:\mysql\ but the location could be different
depending on where you installed it.

After removing it, there is no way that previous databases could exist,
because they are located there. Users are also part of the database, so
they will be gone also.

Jul 20 '05 #3
KC wrote:
1. "Add or Remove Programs
2. Deleted c:\mysql
3. Deleted c:\windows\my.i ni (that file was created when I ran
c:\mysql\bin\wi nmysqladmin.exe to set up MySQL)
4. Rebooted the PC
5. Reinstalled MySQL

The previous user name and db still appears. Is there someplace else this
information is stored?


No, on windows platform the database files are located in c:\mysql\data\
folder. I hope you don't by username mean test or root, and by database
mean mysql or test databases, because they come with the installation.

I assume this has nothing to do with the XP system restore feature? I
don't know how it works, but I know that for example if you remove
viruses and you have system restore enabled, viruses will come back. So
you could try disabling the system restore while you reinstall MySQL. I
don't know how to do that.
Jul 20 '05 #4
KC wrote:
The previous user name and db still appears. Is there someplace else this
information is stored?


What do you mean when you say they appear? Where do you see them? Are
they showing up as choices in your GUI tool, or are they actually in the
'mysql' database? Can you connect to that database using that username?

If they're saved by the GUI tool, it's possible the tool stores them in
an ini file, or in the windows registry.

Bill K.
Jul 20 '05 #5
KC
OK - got it fixed. It was more a case of poor directions than a hardware or
software problem. When my support guy actually spoke to me on the phone, he
realized that the email directions were flawed. Wish we would have had that
call a couple of days ago - I was going crazy with this. Thanks for all the
help everyone.
"Aggro" <sp**********@y ahoo.com> wrote in message
news:Q_******** ******@read3.in et.fi...
KC wrote:
1. "Add or Remove Programs
2. Deleted c:\mysql
3. Deleted c:\windows\my.i ni (that file was created when I ran
c:\mysql\bin\wi nmysqladmin.exe to set up MySQL)
4. Rebooted the PC
5. Reinstalled MySQL

The previous user name and db still appears. Is there someplace else this information is stored?


No, on windows platform the database files are located in c:\mysql\data\
folder. I hope you don't by username mean test or root, and by database
mean mysql or test databases, because they come with the installation.

I assume this has nothing to do with the XP system restore feature? I
don't know how it works, but I know that for example if you remove
viruses and you have system restore enabled, viruses will come back. So
you could try disabling the system restore while you reinstall MySQL. I
don't know how to do that.

Jul 20 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1549
by: sanjay gupta | last post by:
Hi All, I have recently installes mysql -4.0.0.1 on my redhat 7.1 machine . After installing when enter into mysql it gives me message " Access denied for user root@local host .......using password yes" i have tried all the options like #mysql -u root -h localhost #mysql -u root -h localhost -p
0
2818
by: Mark Adams | last post by:
I am a relative newbie to MySQL. I had a Postfix+Courier+MySQL mail server running for several months. It took me a week or so to get it up and running in September. Now, I did a clean upgrade to Mandrake 9.2 and am reinstalling everything. This thing is kicking my ass and I can't seem to get past it. I could really use some help if...
0
5827
by: Mark Adams | last post by:
I am a relative newbie to MySQL. I had a Postfix+Courier+MySQL mail server running for several months. It took me a week or so to get it up and running in September. Now, I did a clean upgrade to Mandrake 9.2 and am reinstalling everything. This thing is kicking my ass and I can't seem to get past it. I could really use some help if...
0
2312
by: Mark Adams | last post by:
I really need some help with this. MySQL will not start on boot despite everything I've done to make sure that it is set to do so. When I start it as root from a terminal with "/usr/bin/mysqld_safe --skip-grant-tables &" I show several mysqld procs. and one mysqld_safe, but I can't connect: # ps -aux| grep mysql Warning: bad syntax,...
5
22450
by: KC | last post by:
Hello I installed MySQL ver 4.0.20d on a Windows XP Professional PC. I created a user and database that I would like to delete, and at this point I would just like to uninstall MySQL and do a fresh installation. I have deleted MySQL by going to Start > Settings > Control Panel > Add or Remove Programs. However, when I reinstall MySQL, ...
3
19333
by: geek55 | last post by:
I am trying to reinstall MySQL on a Win XP pro box. After uninstalling MySQL 3.x, a 'MySQL' service is left in the list of services. I can't figure out how to delete it, and installation of MySQL 4.1 fails during configuration. The old service may not be the problem, but can anyone suggest how to get rid of it? Thanks.
2
6105
by: pc | last post by:
hi everyone, we have a server on which someone blew away the MySQL 4 progs directory before installing MySQL 5. When installing MySQL 5 the installation failed with an error stating that it was unable to create system tables as the MySQL 4 directory did not exist. We are now unable to uninstall MySQL 5: # rpm -i
8
2152
by: eholz1 | last post by:
Hello Newsgroup, I have redhat 3.0 Enterprise, and mysql (3.58.xxx more or less) installed from a redhat rpm, and php 4.3.9 (installed from an rpm) - I can access data from my mysql db using php and the "pear" Db .php. I recently upgraded my Apache to 2.2 and installed (more or less) PHP 5.2 as well - neither of these installs were from a...
0
1569
by: sonyak | last post by:
I would like to remove mysql from my computer and start fresh with it. I have searched my computer for the program, but I can't find it. I've searched my hidden folder and my visible ones, and I have no idea where the installer put the program. I feel really dumb right now. LOL I know there is a thread in this forum about removing mysql from a...
0
7473
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7815
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7433
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
4949
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3458
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3444
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1891
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1020
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
712
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.