From 66cfdd2bef9b3b0b36bbadf42563a6e4a35f29d6 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 26 Jan 2023 08:44:11 +0000 Subject: [PATCH] Allow mediawiki mysql users to FLUSH TABLES for backup --- cookbooks/mediawiki/resources/site.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/cookbooks/mediawiki/resources/site.rb b/cookbooks/mediawiki/resources/site.rb index 3d602616d..476ce1699 100644 --- a/cookbooks/mediawiki/resources/site.rb +++ b/cookbooks/mediawiki/resources/site.rb @@ -61,6 +61,7 @@ action :create do mysql_user "#{new_resource.database_user}@localhost" do password new_resource.database_password + reload true end mysql_database new_resource.database_name do -- 2.39.5