Skip to content

Instantly share code, notes, and snippets.

@backslash112
Created May 16, 2018 14:25
Show Gist options
  • Save backslash112/fe7a7c52fcb0808a877c05fb73ca7e39 to your computer and use it in GitHub Desktop.
Save backslash112/fe7a7c52fcb0808a877c05fb73ca7e39 to your computer and use it in GitHub Desktop.
Blog: Start a Remote MySQL Server with Docker quickly
# login into mysql
docker logs mysql1 2>&1 | grep GENERATED # check the automatically generated password of root user, copy it
docker exec -it mysql1 mysql -u root -p # parse and press the Enter key
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment