Skip to content

Instantly share code, notes, and snippets.

@Inkimar
Created June 29, 2017 09:55
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 Inkimar/31f1df7e01d3bedb7fb67b68bfa4495d to your computer and use it in GitHub Desktop.
Save Inkimar/31f1df7e01d3bedb7fb67b68bfa4495d to your computer and use it in GitHub Desktop.
create a user in mysql with privs to 1 db
CREATE USER 'ink'@'localhost' IDENTIFIED BY 'ink';
GRANT ALL PRIVILEGES ON inksdb.* To 'ink'@'localhost' IDENTIFIED BY 'ink';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment