Created
April 16, 2019 09:10
-
-
Save FreeFly19/cb7e92da45fa50226961f4df3c05eb44 to your computer and use it in GitHub Desktop.
MySQL Shell Docker example
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 run --name=mysql8 -e MYSQL_ROOT_PASSWORD=root -e MYSQL_DATABASE=test -d mysql/mysql-server:8 | |
docker exec -it mysql8 mysqlsh root@localhost/test -S/var/lib/mysql/mysql.sock |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment