Web Hosting Talk







View Full Version : MySQL Uninstall


Mike343
09-09-2001, 01:12 AM
Is there a way to uninstall MySQL or can i just instlal over it with mysql again because i screwed the first install up and my mysql server is not performing or workign correctly Thanks, Mike

Reg
09-09-2001, 01:19 AM
If you installed mySQL via the .pkg (which you most likely did), here is how you uninstall it.

Telnet (or SSH, whichever you are running) to your box as admin. Once you have logged in, type the following:

1. su

2. (when it asks for your password, type your admin password to gain root access.)

3. cd /var/libs/cobalt/uninstallers

4. ls (or dir)

5. ./MySQL-3.23.XXX.uninst

That will do it.

Chicken
09-09-2001, 01:21 AM
You'd want to completely remove it first. If you installed one of the .pkg's running the uninstaller does NOT completely remove it. I'm not sure if they have directions on the mysql site, but worth a look.

Of course as I post this, someone posted above me (slipped one in heh). Just realize that that leaves some things intact such as the databases and passwords, etc. Maybe that's all you want to do.

Mike343
09-09-2001, 12:40 PM
Nope, I Didn't install mysql form the package file, I installed it from the tarball that you cna download at mysql.com, Hiw would I uninstall this or can i just install over it?

Chicken
09-09-2001, 02:06 PM
My only suggestion would be to search the MySQL user mailing list: http://lists.mysql.com/php/search.php