Skip to content

Instantly share code, notes, and snippets.

@mertcangokgoz
Created January 23, 2019 10:33
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 mertcangokgoz/3f701645576bad81a5ab40ee5603d361 to your computer and use it in GitHub Desktop.
Save mertcangokgoz/3f701645576bad81a5ab40ee5603d361 to your computer and use it in GitHub Desktop.
create database database_name;
CREATE USER 'database_user'@'localhost' IDENTIFIED BY 'database_password';
GRANT ALL PRIVILEGES ON * . * TO 'database_user'@'localhost';
FLUSH PRIVILEGES;
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment