Skip to content

Instantly share code, notes, and snippets.

@Apreche
Created June 19, 2012 15:55
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Apreche/2954956 to your computer and use it in GitHub Desktop.
Save Apreche/2954956 to your computer and use it in GitHub Desktop.
MySQL create user and database
create database DATABASENAME;
grant usage on *.* to USERNAME@localhost identified by 'PASSWORD';
grant all privileges on DATABASENAME.* to USERNAME@localhost ;
@cristinavgithub
Copy link

create database elite_health_beauty
grant ALL on elite_health_beauty.* to cristinav identified by cristina2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment