Created
June 3, 2019 13:57
-
-
Save SpekkoRice/c1c7205923e049cb1c9bbdb5aedd73fe to your computer and use it in GitHub Desktop.
MySQL Docker One (3) Liner
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker pull mysql:5.6.27 | |
docker run -p 3306:3306 --name <my-docker-name> -e MYSQL_ROOT_PASSWORD=password -d mysql:5.6.27 | |
mysql -h 0.0.0.0 -P 3306 -u root -ppassword |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment