Mac installation MySQL visualization tool MySQL Workbench
1. Install MySQL
Mac download address: https://dev.mysql.com/downloads/mysql/
Double-click the installation package
all the way next
After the installation is complete, you can find MySQL in System Preferences
Click to enter the MySQL setting interface
to open the command line terminal to execute
- alias mysql=/usr/local/mysql/bin/mysql
- alias mysqladmin=/usr/local/mysql/bin/mysqladmin
- mysqladmin -u root -p password root123
2. Install MySQL Workbench
Download the installation package
https://cdn.mysql.com//Downloads/MySQLGUITools/mysql-workbench-community-8.0.27-macos-x86_64.dmg
- Open after installation
- Enter the password set when installing MySQL
- create database
- create table