mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-03-25 23:41:45 +01:00
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:
@@ -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;"
|
||||
|
||||
;;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user