4.7.2.  Database connection

In category Database connection, define access on database (e.g. MSSQL, Oracle, etc.).

[Note]Note

In V12.6 the configuration concept has been changed. A dbproxy.cfg does not exist anymore. Now the configuration takes place in odbc.cfg or jdbc.cfg. That means, the database connection has to be modified and the login will fail initially without adaption.

Preconditions:

Create database connection:

Via New button, create the needed database connection and on the right, fill respective fields. Then under Active database connection, select the desired one.

You can also enter a variable under Active database connection. For example, enter "$DATABASETYPE" and create this variable e.g. in the start.env.

[ENVIRONS]
CADENAS=%DirOfThisFile%
CADENAS_SETUP=C:\ProgramData\PARTsolutions\setup
CADENAS_DEFAULTUSER=$CADENAS_SETUP\user\default_user
CADENAS_SITESETUP=C:\ProgramData\PARTsolutions\sitesetup
CADENAS_USER=%UserAppData%\PARTsolutions\user
CADENAS_LICENSE=$CADENAS_SITESETUP\lic
CADENAS_POOL=C:\ProgramData\PARTsolutions\pool
CADENAS_DATA=C:\data\
DATABASETYPE=group1

Now create connection via New, where the value refers to the value of DATABASETYPE.

Setting options: