From af37182013eec9e88bfc320c4836f6b29dc5952f Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 18 Nov 2020 22:22:39 +0000 Subject: [PATCH] Add some mysql privilege name mappings --- cookbooks/mysql/libraries/mysql.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cookbooks/mysql/libraries/mysql.rb b/cookbooks/mysql/libraries/mysql.rb index a40161be0..ec9743c94 100644 --- a/cookbooks/mysql/libraries/mysql.rb +++ b/cookbooks/mysql/libraries/mysql.rb @@ -133,6 +133,12 @@ module OpenStreetMap case privilege when :grant "GRANT OPTION" + when :show_db + "SHOW DATABASES" + when :repl_slave + "REPLICATION SLAVE" + when :repl_client + "REPLICATION CLIENT" when :create_tmp_table "CREATE TEMPORARY TABLES" else -- 2.39.5