MySQL Forums
Forum List  »  Install & Repo

Re: How to uninstall on OS X
Posted by: Malcolm
Date: February 24, 2006 06:43AM

Hi Carl,

Uninstalling mysql is probably one of the easiest things to uninstall.
1. You should state which version you installed. Was it from the .pkg installer?
2. Are you OK with using the Terminal to delete things?
3. Do you have an administrator account that you can use sudo with?

If you provide these pieces of information then someone can help with exact instructions and commands to remove it.

It boils down to three places.
Should be main directory folder at /usr/local/mysql (maybe with a version suffix) which contains all the subdirectories. If it contains a version suffix there will also be a soft link called mysql that points to the actuall directory folder.
Should be a folder at /Library/StartupItems/MySQLCOM
Should be a preference pane in /Library/PreferencePanes/ as well and that is all there is to it.
Also if a .pkg install you will have an entry in /Library/Receipts as well that you can remove.

All locations need to be deleted as root, so you will need to use sudo to do it.
If you are not used to doing this, then post again after checking the above four locations to make sure that's where everything is installed. That way some one can give you the exact commands needed to delete the folders.

p.s There will also be an entry in /etc/hostconfig file
MYSQLCOM=-YES- which you can change to MSQLCOM=-NO- or delete the line.
Again you will need to use sudo to do this as well.

Cheers,

Malcolm

Options: ReplyQuote


Subject
Written By
Posted
February 22, 2006 11:04PM
Re: How to uninstall on OS X
February 24, 2006 06:43AM
April 08, 2009 09:01PM
April 10, 2009 08:58AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.