Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mac docker mysql

$ docker run --restart always --name mysql8.0 --net dev-network -v /Users/[your_username]/Develop/mysql_data/8.0:/var/lib/mysql -p 3306:3306 -d -e MYSQL_ROOT_PASSWORD=[your_password] mysql:8.0
Source by medium.com #
 
PREVIOUS NEXT
Tagged: #mac #docker #mysql
ADD COMMENT
Topic
Name
6+9 =