Skip to content

Commit

Permalink
Merge pull request #5486 from nozzle/new-monitoring-user
Browse files Browse the repository at this point in the history
config: add vt_monitoring user to init_db.sql
  • Loading branch information
morgo authored Nov 29, 2019
2 parents f554089 + 5402463 commit 7572735
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions config/init_db.sql
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,13 @@ GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, RELOAD, PROCESS, FILE,
SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, CREATE USER, EVENT, TRIGGER
ON *.* TO 'vt_filtered'@'localhost';

# User for general MySQL monitoring.
CREATE USER 'vt_monitoring'@'localhost';
GRANT SELECT, PROCESS, SUPER, REPLICATION CLIENT, RELOAD
ON *.* TO 'vt_monitoring'@'localhost';
GRANT SELECT, UPDATE, DELETE, DROP
ON performance_schema.* TO 'vt_monitoring'@'localhost';

# User for Orchestrator (https://github.com/github/orchestrator).
CREATE USER 'orc_client_user'@'%' IDENTIFIED BY 'orc_client_user_password';
GRANT SUPER, PROCESS, REPLICATION SLAVE, RELOAD
Expand Down

0 comments on commit 7572735

Please sign in to comment.