Last active
March 25, 2021 11:36
-
-
Save bouassaba/8abf9d0fd488eaf5ae92dd9cde94e5c8 to your computer and use it in GitHub Desktop.
MySQL create user and database
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
CREATE DATABASE mydatabase; | |
CREATE USER myuser IDENTIFIED BY 'mypassword'; | |
GRANT ALL privileges ON mydatabase.* TO myuser; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment