Home > Database > Mysql Tutorial > body text

在Mac上删除Mysql

WBOY
Release: 2016-06-07 16:02:29
Original
998 people have browsed it

首先要停止MySQL的服务,可在偏好设置中停止其服务,然后执行下列命令 $ sudo rm /usr/local/mysql$ sudo rm -rf /usr/local/mysql*$ sudo rm -rf /Library/StartupItems/MySQLCOM$ sudo rm -rf /Library/PreferencePanes/My*$ sudo rm -rf /Library/Receipt

首先要停止MySQL的服务,可在偏好设置中停止其服务,然后执行下列命令

$ sudo rm /usr/local/mysql
$ sudo rm -rf /usr/local/mysql*
$ sudo rm -rf /Library/StartupItems/MySQLCOM
$ sudo 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

编辑/etc/hostconfig,删除其中的MYSQLCOM=-YES-这行

难过了,默默的将自己隐藏起来,让空虚掩盖一切。难过了,闭眼倾听周围的声音,让自己沉浸在喧嚣中。难过了,不必告诉别人,自己的悲伤为何要别人也承担呢。

Related labels:
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!