Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have followed the instructions here: How do I uninstall MySQL on Mac OS X (Snow Leopard)?

Removed / Changed the correct files for what they said.

But when i try a

mysql --version

It bring back the fact that it is still installed.

mysql  Ver 14.14 Distrib 5.5.29, for osx10.7 (i386) using readline 5.1

How can i verify that i actually have it cleaned out and ready for a clean install?

share|improve this question
    
How did you install it? You probably installed it with a package manager like Homebrew that uses other directories. What's the output of which mysql? – Daniel Beck Jan 10 '13 at 22:21
    
Installed with the package from mysql site for 10.6 since this was the most recent one that they had for osx. Ouput is: /usr/local/bin/mysql – estern Jan 10 '13 at 22:23
    
What's the output of ls -l /usr/local/bin/mysql*? – Daniel Beck Jan 10 '13 at 22:27
    
A lot of files like 32 of them, like this one:lrwxr-xr-x 1 user admin 32 Jan 9 17:02 /usr/local/bin/mysql -> ../Cellar/mysql/5.5.29/bin/mysql – estern Jan 10 '13 at 22:32
up vote 0 down vote accepted

Cellar in the path to mysql means that you installed MySQL using Homebrew. Run the following command to uninstall:

brew uninstall mysql
share|improve this answer
    
Thank you, this worked. I forgot that i had installed it via brew before. – estern Jan 11 '13 at 14:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .