Programmer Guide : solidDB® ODBC API : Connecting to a data source : Empty data source name
  
Empty data source name
When an application uses the ODBC API directly and calls SQLConnect() without specifying the solidDB® server network name (by giving an empty string), it is read from the Com.Connect parameter setting in the client-side solid.ini file.
The client-side solid.ini file must reside in the current working directory of the application or in a path specified by the SOLIDDIR environment variable.
The following connect line in the solid.ini of the application workstation connects an application (client) using the TCP/IP protocol to the solidDB® server running on a host computer named spiff and listening with the name (port number in this case) 1313.
[Com]
Connect = tcpip spiff 1313
If the Com.Connect parameter is not specified in the solid.ini configuration file, the client uses the environment-dependent default instead. The defaults for the server-side Com.Listen parameter and the client-side Com.Connect parameters are set so that the application (client) will always connect to a local solidDB® server listening with a default network name. Therefore, local communication (inside one machine) does not necessarily need a configuration file for establishing a connection.
See also
Connecting to a data source