change connection string, added SSL Mode=none parameter

This commit is contained in:
alexeybannov 2019-01-24 15:12:40 +00:00
parent 32c056fa1c
commit c0626e7040
1 changed files with 1 additions and 1 deletions

View File

@ -411,7 +411,7 @@ mysql_check_connection() {
change_connections(){
sed '/'${1}'/s/\(connectionString\s*=\s*\"\)[^\"]*\"/\1Server='${MYSQL_SERVER_HOST}';Port='${MYSQL_SERVER_PORT}';Database='${MYSQL_SERVER_DB_NAME}';User ID='${MYSQL_SERVER_USER}';Password='${MYSQL_SERVER_PASS}';Pooling=true;Character Set=utf8;AutoEnlist=false\"/' -i ${2}
sed '/'${1}'/s/\(connectionString\s*=\s*\"\)[^\"]*\"/\1Server='${MYSQL_SERVER_HOST}';Port='${MYSQL_SERVER_PORT}';Database='${MYSQL_SERVER_DB_NAME}';User ID='${MYSQL_SERVER_USER}';Password='${MYSQL_SERVER_PASS}';Pooling=true;Character Set=utf8;AutoEnlist=false;SSL Mode=none\"/' -i ${2}
}
if [ "${MYSQL_SERVER_EXTERNAL}" == "false" ]; then