Skip to content

Instantly share code, notes, and snippets.

@jeroenvandijk
Created November 1, 2008 14:39
Show Gist options
  • Save jeroenvandijk/21529 to your computer and use it in GitHub Desktop.
Save jeroenvandijk/21529 to your computer and use it in GitHub Desktop.
# after $ mysql -u ''adminusername'' -p
CREATE DATABASE ''databasename'';
GRANT ALL PRIVILEGES ON ''databasename''.* TO "''username''"@"''hostname''" IDENTIFIED BY "''password''";
FLUSH PRIVILEGES;
EXIT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment