I want to cleanup my system and uninstall mysql. If I do so with:
brew uninstall mysql
will the databases also been deleted? I don't want to leave them on the harddisk.
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.Sign up to join this community
Depends on the location of the database file on disk.
Upon uninstalling mysql, the mysql installation directory is deleted, which is
/usr/local/Cellar/mysql in the default install.
I found the Default-Database-Location Thanks Tom. I didn't changed it after installing mysql with brew.
brew uninstall mysql I had to remove the following folder:
mysql inside of /usr/local/var/
I also searched for the files from this checklist, but found nothing so only did the last thing:
brew cleanup and was done.