4.7.2.  Database connection

In the Database connection category, define how the database (e.g. MSSQL, Oracle, etc.) is accessed.

[Note]Note

The configuration concept was changed in V12.6. There is no longer a dbproxy.cfg. The configuration can now be found in odbc.cfg or jdbc.cfg. This means that the database connection must be modified and the login will initially fail without modification.

Prerequisites:

Create database connection:

Use the New button to create the required database connections and fill in the respective fields to the right. Then select the required database connection [Active database connection] under Active database connection.

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

[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 use New to create connections that are referenced by the DATABASETYPE value.

Setting options: