Home > Database > Mysql Tutorial > How to uninstall mysql on mac?

How to uninstall mysql on mac?

藏色散人
Release: 2020-09-16 13:41:25
Original
11607 people have browsed it

How to uninstall mysql on mac?

After installing MySQL on Mac, there was a problem that it could not be started. After many attempts, the problem still could not be solved, so I had to delete it in the end.

How to delete MySQL under Mac? You only need to execute the following command in the terminal to completely delete MySQL under Mac.

Open Terminal:

Finder->Applications->Utilities->Terminal.

How to uninstall mysql on mac?

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.*
Copy after login

Related learning recommendations: mysql tutorial(video)

The above is the detailed content of How to uninstall mysql on mac?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
mac
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template