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
@@ -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"; };
};
};