Home > Database > Mysql Tutorial > Mac安装 mysql 数据库总结_MySQL

Mac安装 mysql 数据库总结_MySQL

WBOY
Release: 2016-05-27 10:44:19
Original
915 people have browsed it

1. 安装mysql 2. 安装mysql workbench

安装mysql需要去http://www.mysql.com/downloads/下载相应的dmg版本

安装时要注意最后的一个界面上提示的一个动态的密码,这个一定要记住。

安装mysql workbench,安装完成后打开Local instance 3306,会提示你输入老密码,就是上面的随机密码,然后输入新密码。

mysql完全卸载。

sudo rm /usr/local/mysql

    sudo rm -rf /usr/local/mysql*

    sudo rm -rf /Library/StartupItems/MySQLCOM

    sudo rm -rf /Library/PreferencePanes/My*

    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 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