Merge pull request #172688 from poelzi/fix-automysqlbackup

automysqlbackp: fix missing permissions for mysqldump
main
Sandro 2 years ago committed by GitHub
commit 77aff919e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      nixos/modules/services/backup/automysqlbackup.nix

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

Loading…
Cancel
Save