From 0294ddc7352d5cf9ab0eca48a6cab3894aa866dc Mon Sep 17 00:00:00 2001 From: Tony Breeds Date: Tue, 21 Jul 2015 14:11:49 -0500 Subject: [PATCH] mysql: Fix mysql config devstack attempts to set bind-address, sql_mode, default-storage-engine, max_connections, query_cache_type and query_cache_size. However the bash command is missing some '&&'s and was omiting max_connections, query_cache_type and query_cache_size. Change-Id: I24388b5de777995f92d73076524122cf599d6371 --- lib/databases/mysql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/databases/mysql b/lib/databases/mysql index 9c9401edf6..fb55b60ff6 100644 --- a/lib/databases/mysql +++ b/lib/databases/mysql @@ -95,9 +95,9 @@ function configure_database_mysql { sudo bash -c "source $TOP_DIR/functions && \ iniset $my_conf mysqld bind-address "$SERVICE_LISTEN_ADDRESS" && \ iniset $my_conf mysqld sql_mode STRICT_ALL_TABLES && \ - iniset $my_conf mysqld default-storage-engine InnoDB \ - iniset $my_conf mysqld max_connections 1024 \ - iniset $my_conf mysqld query_cache_type OFF \ + iniset $my_conf mysqld default-storage-engine InnoDB && \ + iniset $my_conf mysqld max_connections 1024 && \ + iniset $my_conf mysqld query_cache_type OFF && \ iniset $my_conf mysqld query_cache_size 0"