Skip to content

Instantly share code, notes, and snippets.

@gearoidc
Created March 10, 2020 10:02
Show Gist options
  • Save gearoidc/06a41586e79d2663bf048e5ce50254e2 to your computer and use it in GitHub Desktop.
Save gearoidc/06a41586e79d2663bf048e5ce50254e2 to your computer and use it in GitHub Desktop.
CREATE USER USER@HOST IDENTIFIED WITH mysql_native_password BY 'PASSWORD';
GRANT ALL PRIVILEGES ON database.* to USER@HOST;
flush privileges;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment