Skip to content

Instantly share code, notes, and snippets.

@andregoncalves
Last active August 30, 2016 16:45
Show Gist options
  • Save andregoncalves/a671b7887b78a3e5bd738a62b8934336 to your computer and use it in GitHub Desktop.
Save andregoncalves/a671b7887b78a3e5bd738a62b8934336 to your computer and use it in GitHub Desktop.
Create mysql user for app access
create user <user>@localhost;
set password for <user>@localhost = PASSWORD("xxx");
grant all privileges on wordpress_<app>.* to <user>@localhost identified by "xxx";
flush privileges;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment