Created
September 9, 2016 21:08
-
-
Save sharifbdp/4e2943384d7a1b783a09765ac8ee4153 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
# Loggin to Mysql | |
# Set proper value in ( DB_NAME, NEW_DB_USER_NAME, PASSWORD_FOR_NEW_USER ) | |
-> GRANT ALL PRIVILEGES ON DB_NAME.* To 'NEW_DB_USER_NAME'@'localhost' IDENTIFIED BY 'PASSWORD_FOR_NEW_USER'; | |
-> FLUSH PRIVILEGES; | |
# For Delete User | |
-> DROP USER ‘demo’@‘localhost’; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment