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

How to uninstall mysql on mac?

藏色散人
Release: 2020-09-16 13:41:25
Original
11817 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
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
Latest Issues
mac use
From 1970-01-01 08:00:00
0
0
0
How to install it on Mac?
From 1970-01-01 08:00:00
0
0
0
Why doesn’t Mac have PHPstudy?
From 1970-01-01 08:00:00
0
0
0
When will phpstudy release a mac version?
From 1970-01-01 08:00:00
0
0
0
Where is the telnet option on mac computer?
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template