mneethiraj commented on code in PR #483:
URL: https://github.com/apache/ranger/pull/483#discussion_r1929096341


##########
security-admin/scripts/setup.sh:
##########
@@ -747,9 +748,9 @@ update_properties() {
        if [ "${DB_FLAVOR}" == "MSSQL" ]
        then
                propertyName=ranger.jpa.jdbc.url
-               if [ "${DOCKER_ENV}" == "true" ]
+               if [ "${CONNECTION_STRING_ADDITIONAL_PARAMS}" != "" ]
                then
-                       
newPropertyValue="jdbc:sqlserver://${DB_HOST};databaseName=${db_name};trustServerCertificate=true;"
+                       newPropertyValue=${CONNECTION_STRING_ADDITIONAL_PARAMS}

Review Comment:
   Also, add the following to install.properties used in docker setup:
   `CONNECTION_STRING_ADDITIONAL_PARAMS="trustServerCertificate=true;"`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to