and more in a single search tool across platforms. Read the announcement here. |
on 04/05/2023 08:41 AM
To connect to Active Directory domain accounts with MS SQL database using Kerberos, use a format similar to the following:
jdbc:sqlserver://host:port;DatabaseName=<dabase name>;authenticationScheme=JavaKerberos;integratedSecurity=true;userName=${USERNAME};password=${PASSWORD}
To define SQL Server timeout, use the format similar to the following:
jdbc:jtds:sqlserver://<ip_address>/<db_name>;instance=<SQLserver_name>;loginTimeout=5;socketTimeout=30000
Example 3: To connect to Oracle DB with MySQL database, use a format similar to the following:
jdbc:oracle:thin:@#HOST#:#PORT#:#DB#
To define Postgres timeout, use the format similar to the following:
jdbc:postgresql://host:port/dbname?options=-c%20connectTimeout=5%20-c%20socketTimeout=30