]> git.openstreetmap.org Git - chef.git/commitdiff
Add some mysql privilege name mappings
authorTom Hughes <tom@compton.nu>
Wed, 18 Nov 2020 22:22:39 +0000 (22:22 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 18 Nov 2020 22:22:39 +0000 (22:22 +0000)
cookbooks/mysql/libraries/mysql.rb

index a40161be0bbfe52a6b572921c59106f41b4f0e98..ec9743c946b964574cf8f8754c45435c7eed7b20 100644 (file)
@@ -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