Created
May 16, 2018 14:25
-
-
Save backslash112/fe7a7c52fcb0808a877c05fb73ca7e39 to your computer and use it in GitHub Desktop.
Blog: Start a Remote MySQL Server with Docker quickly
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
# 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