The installation files are installed in the DMG format of the Mac under MySQL, but no files are uninstalled ... It's a very depressing thing.
Search the Internet, found that the method originally had to be manually deleted.
Many articles account for the deletion of the file is incomplete, and later found here in StackOverflow a missing place, so the full version is described here, for inspection.
Stop all MySQL-related processes first.
1 sudo rm/usr/local/mysql
2 sudo rm-rf/usr/local/mysql*
3 sudo rm-rf/library/startupitems/mysqlcom
4 sudo rm-rf/library/preferencepanes/my*
5 Vim/etc/hostconfig (and removed the line mysqlcom=-yes-)
6 RM-RF ~/library/preferencepanes/my*
7 sudo rm-rf/library/receipts/mysql*
8 sudo rm-rf/library/receipts/mysql*
9 sudo rm-rf/var/db/receipts/com.mysql.*
In the end, many articles have been lost, remember to remember.
MySQL Uninstall method under Mac