Merge pull request #2537 from alexbelgium/copilot/fix-44178713-320811167-8f67515d-5c24-4b6b-ae55-ae696c06ce42

Add --skip-ssl to mysql commands in MonicaCRM addon
This commit is contained in:
Alexandre
2026-02-26 11:22:05 +01:00
committed by GitHub

View File

@@ -62,7 +62,7 @@ case "$database" in
bashio::log.warning "Uninstalling the MariaDB addon will remove any data"
# Create database
mysql --host="$DB_HOST" --port="$DB_PORT" --user="$DB_USERNAME" --password="$DB_PASSWORD" -e"CREATE DATABASE IF NOT EXISTS $DB_DATABASE;"
mysql --skip-ssl --host="$DB_HOST" --port="$DB_PORT" --user="$DB_USERNAME" --password="$DB_PASSWORD" -e"CREATE DATABASE IF NOT EXISTS $DB_DATABASE;"
;;
@@ -86,7 +86,7 @@ case "$database" in
fi
# Create database
mysql --host="$DB_HOST" --port="$DB_PORT" --user="$DB_USERNAME" --password="$DB_PASSWORD" -e"CREATE DATABASE IF NOT EXISTS $DB_DATABASE;"
mysql --skip-ssl --host="$DB_HOST" --port="$DB_PORT" --user="$DB_USERNAME" --password="$DB_PASSWORD" -e"CREATE DATABASE IF NOT EXISTS $DB_DATABASE;"
;;