From 60b1b95e08467b1ca69287d9c4e28fa0c90700c4 Mon Sep 17 00:00:00 2001 From: Andreas Granig Date: Thu, 3 Jul 2014 23:56:00 +0200 Subject: [PATCH] MT#7793 Fix grants for exporter. --- db_scripts/diff/15082.up | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/db_scripts/diff/15082.up b/db_scripts/diff/15082.up index a02d3942..ed39334a 100644 --- a/db_scripts/diff/15082.up +++ b/db_scripts/diff/15082.up @@ -3,3 +3,9 @@ use accounting; alter table events change column export_status export_status enum('unexported','ok','filtered','failed') not null default 'unexported'; + +-- for event exporter +grant select on provisioning.* to exporter@localhost; +grant select on billing.* to exporter@localhost; +grant select, update on accounting.events to exporter@localhost; +grant select, insert, update on accounting.mark to exporter@localhost;