From 680c7b8361521c494ae93d13b5d33c43a27d35ad Mon Sep 17 00:00:00 2001 From: Sam Morrison Date: Wed, 19 Jun 2019 11:55:21 +1000 Subject: [PATCH] Set default-authentication-plugin default for mysql The default has changed in mysql8, set this explicitly so this will work with mysql5.x and mysql8.x Change-Id: I252c8bf2272fdad61b977f2388dd6a2704fdf872 --- trove/templates/mysql/config.template | 1 + 1 file changed, 1 insertion(+) diff --git a/trove/templates/mysql/config.template b/trove/templates/mysql/config.template index 55b13cb5b0..b005c406e4 100644 --- a/trove/templates/mysql/config.template +++ b/trove/templates/mysql/config.template @@ -14,6 +14,7 @@ datadir = /var/lib/mysql/data tmpdir = /var/tmp pid-file = /var/run/mysqld/mysqld.pid socket = /var/run/mysqld/mysqld.sock +default_authentication_plugin = mysql_native_password skip-external-locking = 1 key_buffer_size = {{ (50 * flavor['ram']/512)|int }}M max_allowed_packet = {{ (1024 * flavor['ram']/512)|int }}K