Skip to content

Instantly share code, notes, and snippets.

@atd
Created January 4, 2012 15:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save atd/1560638 to your computer and use it in GitHub Desktop.
Save atd/1560638 to your computer and use it in GitHub Desktop.
MySQL new database and user
create database db_name;
grant all privileges on db_name.* to user_name@localhost identified by 'password';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment