Skip to content

Instantly share code, notes, and snippets.

@cmpscabral
Created April 13, 2018 15:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cmpscabral/8a648f3afbb2697c3171a87cb937a33a to your computer and use it in GitHub Desktop.
Save cmpscabral/8a648f3afbb2697c3171a87cb937a33a to your computer and use it in GitHub Desktop.
install docker mysql
curl -sSL https://get.docker.com/ | sh
sudo docker run --name mysql-57-container -p 127.0.0.1:3310:3306 -e MYSQL_ROOT_PASSWORD=rootpassword -d mysql:5.7
mysql -u root -p --host=127.0.0.1 --port=3310
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment