From: Tom Hughes Date: Thu, 26 Jan 2023 08:44:11 +0000 (+0000) Subject: Allow mediawiki mysql users to FLUSH TABLES for backup X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/66cfdd2bef9b3b0b36bbadf42563a6e4a35f29d6 Allow mediawiki mysql users to FLUSH TABLES for backup --- 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