Skip to content

Instantly share code, notes, and snippets.

@maiha
Created May 3, 2010 10:27
Show Gist options
  • Save maiha/387948 to your computer and use it in GitHub Desktop.
Save maiha/387948 to your computer and use it in GitHub Desktop.
# create database 'foo'
% mysqladmin -u root create foo
# give full privileges to user 'maiha'
% mysql -u root
mysql> grant all on foo.* to maiha;
# reload role tables
% mysqladmin -u root reload
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment