Skip to content

Instantly share code, notes, and snippets.

@quoidautre
Created June 25, 2012 07:44
Show Gist options
  • Select an option

  • Save quoidautre/2987212 to your computer and use it in GitHub Desktop.

Select an option

Save quoidautre/2987212 to your computer and use it in GitHub Desktop.
MYSQL: create new user
grant CREATE,INSERT,DELETE,UPDATE,SELECT on newdatabse.* to newuser@localhost;
update user set password = password('new password') where User='newuser';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment