2
votes

Anyone knows how to parametrize Database URL under JDBC Connection Configuration.

Database URL: jdbc:sqlserver://ovh-sql1:1433;DatabaseName=user_1
JDBC Driver Class: com.microsoft.sqlserver.jdbc.SQLServerDriver

I want to parametrize DatabaseName=user_1

Normal parametrization is not working here. Please suggest.

1

1 Answers

0
votes

You can use variable for database name and configure it.

Here is the example:

Database URL: jdbc:mysql://${mysql_hostname}:${mysql_port}/${mysql_database}
JDBC Driver Class: com.mysql.jdbc.Driver
Username: ${mysql_username}
Password: ${mysql_username}