Summary of installing mysql database on Mac, macmysql
1. Install mysql 2. Install mysql workbench
To install mysql, go to http://www.mysql.com/downloads/download the corresponding dmgversion
Pay attention to a dynamic password prompted on the last interface during installation. Remember this.
Install mysql workbench. After the installation is complete, open Local instance 3306 and you will be prompted to enter the old password, that is, the above random password, and then enter the new password.
Mysql is completely uninstalled.
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. *
Articles you may be interested in:
- Mac OS cannot connect to mysql using localhost
- Build a website development environment using Apache + MySql + PHP on mac
- How does Mac add mysql path to environment variables?
- Install MYSQL on MAC OS X
- How to add MYSQL startup in MAC system
- How to install MySQL on Mac
- How to install the latest MySQL version 5.7.9in mac OS X10.10
- How to install and uninstall Mysql5.7.11 on Mac