Created
September 29, 2019 20:17
-
-
Save serweb-labs/8d7be2a0e9b5d1cae9374f04ea102494 to your computer and use it in GitHub Desktop.
add user to mysql and add privileges on prefix db
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 'el_user'@'%' IDENTIFIED BY 'elpass'; | |
GRANT ALL PRIVILEGES ON el_user_*.* TO 'cleek_dba'@'%'; | |
GRANT ALL PRIVILEGES ON `el_user_\_%` . * TO 'el_user'@'%'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment