Last active
February 11, 2020 14:14
-
-
Save isaaclw/741d174f31c82f88a14daa2e9ad4cf77 to your computer and use it in GitHub Desktop.
MySQL add user
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE DATABASE matomo_db_name_here; | |
CREATE USER 'matomo'@'localhost' IDENTIFIED BY 'my-strong-password-here'; | |
GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, INDEX, DROP, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES ON matomo_db_name_here.* TO 'matomo'@'localhost'; | |
flush privileges; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment