Changing the Database Connection
Overview
For CCLAS EL applications to run on a client computer, a connection to the CCLAS EL database and CCLAS EL security must be established. Connection and security applications manage this, and reside either on the client computer or on a remote server.
This process is only available from V3 applications.
Process
To set a different database as the preferred database from the V3 application main menu:
-
Select Pool Control » Server Connection on the main menu, then select the required connection from the drop-down list which is populated with database connections from the appsettings.json file, with the exclusion of the "CCLAS"connection.
-
Click Change to confirm the change of preferred connection.
Where a change of preferred database connection is made, then the cclasellogon > CCLAS EL login Form displays for you to re-login.
Any change to the preferred database automatically updates your appsettings.json file for V3 and CCLAS.INI for V2. Where a connection exists in the appsettings.json file but not in the CCLAS.INI, then an error is raised: Section '<connection>' not found in configuration. Typically these initialisation files should be configured to contain the same available database connections. Refer to Configuring the Language and Database Connection for V3 and Managing the Database Connection and Security.
To stop the current database connection:
-
Select Pool Control » Stop Connection on the main menu.
Also refer to Logging In To a Laboratory to set a different database as the preferred database or to stop the current connection during V3 login.