Skip to content

Instantly share code, notes, and snippets.

@mileszs
Created December 22, 2008 21:56
Show Gist options
  • Save mileszs/39139 to your computer and use it in GitHub Desktop.
Save mileszs/39139 to your computer and use it in GitHub Desktop.
# Grant Privileges to a user for a certain db in MySQL
grant all privileges on dbname.* to 'username'@'localhost' identified by 'thepasswd';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment