Run MySQL Docker on M1 & Intel

December 19, 2021

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
Docker MySQL Running

Connect Using TablePlus

Configuration settings:

  • Host: 127.0.0.1
  • User: root
  • Password: 12345
  • Port: 3306
TablePlus Configuration
#Docker #MySQL #M1 #TablePlus