diff --git a/docker/galera/config-galera.sh b/docker/galera/config-galera.sh
index e660840016dfb4c2718c3a8b5cc56212a8d717a1..cfdd7d9a2e70eb215a7f108ac1653893881f9fe0 100755
--- a/docker/galera/config-galera.sh
+++ b/docker/galera/config-galera.sh
@@ -32,6 +32,5 @@ function bootstrap_db {
 }
 
 function populate_db {
-    mysql_install_db
-    chown -R mysql: /var/lib/mysql
+    mysql_install_db --user=mysql
 }
diff --git a/docker/galera/start.sh b/docker/galera/start.sh
index f8f8d7f771ff55e0f4440bb01b2522b5e686da3e..986cca7339475a0db758a4f7104b7f522553f4ad 100755
--- a/docker/galera/start.sh
+++ b/docker/galera/start.sh
@@ -14,6 +14,8 @@ set_configs
 # loading functions
 source /opt/kolla/config/config-galera.sh
 
+chown mysql: /var/lib/mysql
+
 # This catches all cases of the BOOTSTRAP variable being set, including empty
 if [[ "${!KOLLA_BOOTSTRAP[@]}" ]] && [[ ! -e /var/lib/mysql/cluster.exists ]]; then
     ARGS="--wsrep-new-cluster"