If I uninstall mysql with brew, does it drop the databases too? 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.
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.