Added MySQL cert encryption support to RHEL images

This commit is contained in:
Alexey Pustovalov
2020-07-30 10:59:32 -04:00
parent a4804f5e4c
commit a2b0873785
9 changed files with 28 additions and 26 deletions

View File

@@ -265,7 +265,7 @@ create_db_schema_mysql() {
zcat /usr/share/doc/zabbix-proxy-mysql/create.sql.gz | mysql --silent --skip-column-names \
-h ${DB_SERVER_HOST} -P ${DB_SERVER_PORT} \
-u ${DB_SERVER_ROOT_USER} --password="${DB_SERVER_ROOT_PASS}" $ssl_opts \
-u ${DB_SERVER_ROOT_USER} --password="${DB_SERVER_ROOT_PASS}" $ssl_opts \
${DB_SERVER_DBNAME} 1>/dev/null
fi
}