Last active
September 20, 2019 17:30
-
-
Save MKRNaqeebi/9661387a6ca7f045b48f092e87c62a08 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
sudo docker run -p 3306:3306 --name mysql -e MYSQL_ROOT_PASSWORD='Kamran!12754' -d mysql/mysql-server:8.0.15 --default-authentication-plugin=mysql_native_password | |
sudo docker exec -it mysql bash | |
mysql -u root --password | |
CREATE USER 'mkrnaqeebi'@'%' IDENTIFIED BY 'password'; | |
GRANT ALL PRIVILEGES ON *.* TO 'mkrnaqeebi'@'%' WITH GRANT OPTION; | |
FLUSH PRIVILEGES; | |
CREATE DATABASE development; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment