Created
June 27, 2021 21:38
-
-
Save fjourdren/f3df3849034c1d205fd03dd6d37747a6 to your computer and use it in GitHub Desktop.
This file contains 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=mk-mysql -p3306:3306 -e MYSQL_ROOT_PASSWORD=secret-pw -d mysql:latest | |
docker exec -it mk-mysql bash | |
mysql -u root -p | |
secret-pw | |
CREATE DATABASE MYSQLTEST; | |
ALTER USER 'root' IDENTIFIED WITH mysql_native_password BY 'secret-pw'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment