Last active
November 26, 2019 11:28
-
-
Save Maes95/082a2df799564efe7b0cf663a68bcc34 to your computer and use it in GitHub Desktop.
Run MySQL on Docker
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
# START MySQL | |
docker run --name master-mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=pass -e MYSQL_DATABASE=test -d mysql:5.7 | |
# This command create a mysql | |
# -> Available in locahost:3306 | |
# -> With a 'root' user with pass 'pass' | |
# -> With a default database schema 'test' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment