Merge pull request #172688 from poelzi/fix-automysqlbackup

automysqlbackp: fix missing permissions for mysqldump
This commit is contained in:
Sandro 2022-05-12 14:14:40 +02:00 committed by GitHub
commit 77aff919e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -112,7 +112,7 @@ in
services.mysql.ensureUsers = optional (config.services.mysql.enable && cfg.config.mysql_dump_host == "localhost") {
name = user;
ensurePermissions = { "*.*" = "SELECT, SHOW VIEW, TRIGGER, LOCK TABLES"; };
ensurePermissions = { "*.*" = "SELECT, SHOW VIEW, TRIGGER, LOCK TABLES, EVENT"; };
};
};