System/OS
2017.11.08 03:35
[mac] How to uninstall MySQL on Mac OS.
조회 수 1644 댓글 0
아래 명령어를 차례대로 실행하면 된다.
# 맥에서 MySQL 제거하기
mac:~ hooni$ sudo rm /usr/local/mysql
mac:~ hooni$ sudo rm -rf /usr/local/mysql*
mac:~ hooni$ sudo rm -rf /Library/StartupItems/MySQLCOM
mac:~ hooni$ sudo rm -rf /Library/PreferencePanes/My*
mac:~ hooni$ vim /etc/hostconfig and removed the line MYSQLCOM=-YES-
mac:~ hooni$ rm -rf ~/Library/PreferencePanes/My*
mac:~ hooni$ sudo rm -rf /Library/Receipts/mysql*
mac:~ hooni$ sudo rm -rf /Library/Receipts/MySQL*
mac:~ hooni$ sudo rm -rf /var/db/receipts/com.mysql.*