Skip to content

Instantly share code, notes, and snippets.

@rand0m86
Last active December 26, 2015 05:08
Show Gist options
  • Save rand0m86/7098150 to your computer and use it in GitHub Desktop.
Save rand0m86/7098150 to your computer and use it in GitHub Desktop.
Create DB user and grant him access
grant all privileges on mydb.* to myuser@localhost identified by 'mypasswd';
@rand0m86
Copy link
Author

Sometimes you should use

myuser@'%'

instead of localhost

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment