In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces why the mysql on mac can not be uninstalled, the article is very detailed, has a certain reference value, interested friends must read it!
The solution that mysql can't uninstall on mac: first open the terminal window; then use mysqldump to back up the database; then stop the database server; and finally execute the command "sudo rm / usr/local/mysql..." Just uninstall it.
Completely uninstall mysql on Mac OS X
Recently installed mysql under Mac, finally installed the environment and debugged it all afternoon! I can connect tomcat and mysql on eclipse, but I don't know why mysql doesn't start well the next day. I couldn't get it right, so I unloaded it. As a result, it could not be reinstalled because the old mysql was not uninstalled cleanly. I almost collapsed by this.
Here is my experience to share with you:
How can you completely uninstall mysql and delete it from your Mac (including all databases) to do the following:
Open the terminal window
Use mysqldump to back up your database into text files!
Stop the database server
Sudo rm / usr/local/mysql
Sudo rm-rf / usr/local/mysql*
Sudo rm-rf / Library/StartupItems/MySQLCOM
Sudo rm-rf / Library/PreferencePanes/My*
Edit / etc/hostconfig and remove the line MYSQLCOM=-YES-
Rm-rf ~ / Library/PreferencePanes/My*
Sudo rm-rf / Library/Receipts/mysql*
Sudo rm-rf / Library/Receipts/MySQL*
Sudo rm-rf / private/var/db/receipts/*mysql*
The last three lines are particularly important, otherwise, you cannot install an old version of MySQL, even if you think you have completely deleted the new version!
The above is why mysql on mac can not uninstall all the content, thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.