Setting client-side parameters through the solid.ini configuration file
This topic provides details about the solid.ini configuration file.
When solidDB® is started, it attempts to open the configuration file solid.ini. If the file does not exist, solidDB® uses the factory values for the parameters. If the file exists, but a value for a particular parameter is not set, solidDB® will use a factory value for that parameter. The factory values may depend on the operating system you are using.
By default, the client 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, solidDB® uses the following precedence (from high to low):
▪location specified by the SOLIDDIR environment variable (if this environment variable is set)
▪current working directory
Rules for formatting the client-side solid.ini file
When you format the client-side solid.ini file, the same rules apply as for the server-side solid.ini file. For more information, see “Rules for formatting the solid.ini file” in solidDB® Administrator Guide.
Client-side solid.ini file
[Com] ;use this connect string of no data source given Listen = tcp host1.acme.com 1315
[Client] ;at SQLConnect, timeout after this time (ms) ConnectTimeout = 5000 ;at any ODBC network request, timeout after this time (ms) ClientReadTimeout = 10000
[Data Sources] Primary_Server = tcp irix1 1315, The Primary Server Secondary_Server = tcp irix2 1315, The Secondary Server