Programmer Guide : solidDB® ODBC API : Getting started with solidDB® ODBC : Client-side solid.ini configuration file
  
Client-side solid.ini configuration file
The solidDB® ODBC Driver gets its client configuration information from the client-side solid.ini file. The client-side configuration file must be located in the working directory of the application.
In most cases, only solidDB® server-side parameters are used when programming for the solidDB®. However, occasionally there is a need to use client-side parameters. For example, you might want to create an application that defines no data source, but takes the data source from the connect string defined in the client-side configuration file.
Note In solidDB® documentation, references to solid.ini file are usually for the server-side solid.ini file.
When the solidDB® ODBC Driver is started, it attempts to open the configuration file solid.ini. If the file does not exist, solidDB® will use the factory values for the parameters. If the file exists, but a value for a particular parameter is not set in the solid.ini file, solidDB® will use a factory value for that parameter. The factory values may depend on the operating system you are using.
By default, the driver looks for the solid.ini file in the current working directory, which is normally the directory from which you started the client. When searching for the file, the following precedence (from high to low) is used:
location specified by the SOLIDDIR environment variable (if this environment variable is set)
current working directory
Client-side parameters
This section describes the most important solidDB® client-side parameters.
Com.Connect
The Connect parameter in the [Com] section defines the default network name (connect string) for a client to connect to when it communicates with a server. Since the client should talk to the same network name as the server is listening to, the value of the Com.Connect parameter on the client should match the value of the Com.Listen parameter on the server.
Com.Trace and Com.TraceFile
If you set the Com.Trace parameter default setting from No to Yes, solidDB® starts logging trace information about network messages for the established network connection to the default trace file or to the file specified in the Com.TraceFile parameter.
See also
Getting started with solidDB® ODBC