Last active
August 20, 2019 08:47
-
-
Save thecodeholic/827e55a3fcf548639c0eb23b62393979 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 'user'@'localhost' IDENTIFIED BY 'password'; | |
CREATE DATABASE database_name DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; | |
GRANT ALL PRIVILEGES on database_name.* TO 'user'@'localhost'; | |
FLUSH PRIVILEGES; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment