Skip to content

Instantly share code, notes, and snippets.

@as3eem
Created January 20, 2018 21:42
Show Gist options
  • Save as3eem/8ca94aec998cf5b56e6358258359850a to your computer and use it in GitHub Desktop.
Save as3eem/8ca94aec998cf5b56e6358258359850a to your computer and use it in GitHub Desktop.
1.CREATE USER 'username'@'localhost' IDENTIFIED BY 'password';
2.GRANT ALL PRIVILEGES ON dbname.* TO 'username'@'localhost' IDENTIFIED BY 'password';
3.flush privileges;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment