473,396 Members | 1,877 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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 53286
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.ini (that file was created when I ran
c:\mysql\bin\winmysqladmin.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**********@yahoo.com> wrote in message
news:cy***************@read3.inet.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.ini (that file was created when I ran
c:\mysql\bin\winmysqladmin.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**********@yahoo.com> wrote in message
news:Q_**************@read3.inet.fi...
KC wrote:
1. "Add or Remove Programs
2. Deleted c:\mysql
3. Deleted c:\windows\my.ini (that file was created when I ran
c:\mysql\bin\winmysqladmin.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
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...
0
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...
0
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...
0
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...
5
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...
3
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...
2
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...
8
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...
0
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.