Created
July 16, 2021 19:38
-
-
Save yanli0303/a6f708778c42860a37b1713991309678 to your computer and use it in GitHub Desktop.
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
CREATE USER 'admin'@'localhost' IDENTIFIED BY 'admin'; | |
GRANT ALL PRIVILEGES ON *.* TO 'admin'@'localhost' WITH GRANT OPTION; | |
CREATE USER 'admin'@'%' IDENTIFIED BY 'admin'; | |
GRANT ALL PRIVILEGES ON *.* TO 'admin'@'%' WITH GRANT OPTION; | |
SHOW GRANTS FOR mstr; | |
FLUSH PRIVILEGES; | |
CREATE DATABASE my_store CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment