Merge pull request #108 from Paulche/master
Add show view privilege for backup user This is valid for database dumps which contain views, as per http://dev.mysql.com/doc/refman/5.1/en/mysqldump.html
This commit is contained in:
commit
5e8f98b5d2
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ class mysql::backup (
|
|||
}
|
||||
|
||||
database_grant { "${backupuser}@localhost":
|
||||
privileges => [ 'Select_priv', 'Reload_priv', 'Lock_tables_priv' ],
|
||||
privileges => [ 'Select_priv', 'Reload_priv', 'Lock_tables_priv', 'Show_view_priv' ],
|
||||
require => Database_user["${backupuser}@localhost"],
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue