Skip to content
Snippets Groups Projects
Commit 5771454d authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Fix mysql permissions"

parents f8c2f030 3f1a3c38
No related branches found
No related tags found
No related merge requests found
......@@ -32,6 +32,5 @@ function bootstrap_db {
}
function populate_db {
mysql_install_db
chown -R mysql: /var/lib/mysql
mysql_install_db --user=mysql
}
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment