Run MySQL Docker on M1 & Intel
Run on Terminal
For M1 Mac
docker run -d -p 3306:3306 --name mysql_container --platform linux/x86_64 --env MYSQL_ROOT_PASSWORD=12345 mysql
For Intel Mac
docker run -d -p 3306:3306 --name mysql_container --env MYSQL_ROOT_PASSWORD=12345 mysql
Connect Using TablePlus
Configuration settings:
- Host: 127.0.0.1
- User: root
- Password: 12345
- Port: 3306