Sources of connection information in a Windows environment

To establish a connection to a database server, the application in a Windows™ environment performs the following tasks:
  • Provide information about the connection with the registry, the ifx_putenv() function, or the InetLogin structure
  • Use a central registry for connection information
  • Perform connection authentication for the application user

In Windows environments, obtains the configuration information from the InetLogin structure or the in-memory copy of the registry.

If the application has initialized a field in InetLogin, sends this value to the database server. For any field the application has not set in the InetLogin structure, uses the corresponding information in the HCL OneDB™ subkey of the registry.
Important: Because the application needs configuration information to establish a connection, you must set any InetLogin configuration values before the SQL statement that establishes the connection.
The registry contains the following configuration information:
  • The values of the HCL OneDB environment variables
  • Connection information

When a client application establishes a connection to a database server, it sends the configuration information to the database server.