时间:2021-07-01 10:21:17 帮助过:26人阅读
4. 重启MySQL.
*以上方法针对 MySQL V5.7.9, 旧版的mysql请使用:UPDATE mysql.user SET Password=PASSWORD(‘新密码‘) WHERE User=‘root‘;
Launchpad
中的,安装盘中也不给我们卸载文件.在终端中输入如下代码就可以完全删除MySQL了,楼主还是推荐一次全部复制到终端,简单暴力(记得将MySQL服务关闭哦):
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.*
mac安装mysql
标签:roo line 停止 删除mysql launch mysq bin class nes