Created
June 19, 2012 15:55
-
-
Save Apreche/2954956 to your computer and use it in GitHub Desktop.
MySQL create user and database
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 database DATABASENAME; | |
grant usage on *.* to USERNAME@localhost identified by 'PASSWORD'; | |
grant all privileges on DATABASENAME.* to USERNAME@localhost ; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
create database elite_health_beauty
grant ALL on elite_health_beauty.* to cristinav identified by cristina2018