There are installation files in the DMG format of mysql in mac, but it is not depressing to uninstall the files. I searched the internet and found that the method was manually deleted. Many articles describe that the files to be deleted are incomplete. later I found an omission in stackoverflow, so I uninstalled mysql.
There are installation files in the DMG format of mysql in mac, but they are not uninstalled ...... Very depressing.
I searched the internet and found that the method was manually deleted.
Many articles describe incomplete files to be deleted, and later found an omission in stackoverflow, so the full version is described here for reference.
Stop all mysql-related processes first. Open the console:
Sudo rm/usr/local/mysql
Sudo rm-rf/usr/local/mysql *
Sudo rm-rf/Library/StartupItems/MySQLCOM
Sudo rm-rf/Library/PreferencePanes/My *
Vim/etc/hostconfig and removed the line MYSQLCOM =-YES-rm-rf ~ /Library/PreferencePanes/My *
Sudo rm-rf/Library/Receipts/mysql *
Sudo rm-rf/Library/Receipts/MySQL *
Sudo rm-rf/var/db/receipts/com. mysql. * The Last many articles were lost. remember to remember.