solidDB Help : Programming : solidDB ODBC API : Getting started with solidDB ODBC : Format of the solidDB connect string
  
Format of the solidDB connect string
The client processes use the solidDB connect string (network name) to specify the server that the client connects to.
The most commonly used network-based solidDB connect string consists of a communication protocol, a possible set of special options, an optional host computer name, and a server name.
The communication protocol and the server name must match the ones that the server is using in its network listening name. In addition, most protocols need a specified host computer name if the client and server are running on different machines. All components of the client network name are case-insensitive.
For the full syntax of a connect string, see ODBC: Connection string syntax.
Examples
[Com]
Connect=tcp -z -c1000 1315
[Com]
Connect=nmpipe host22 SOLID
solsql "tcp localhost 1315"
solsql "tcp 192.168.255.1 1315"
rc = SQLConnect(hdbc, "upipe SOLID", (SWORD)SQL_NTS, "dba", 3, "dba", 3);
rc = SQLDriverConnect(hdbc,
       (SQLHWND)NULL,
       (SQLCHAR*)"DSN=tcp localhost 1964;UID=dba;PWD=dba",
       38,
       out_string,
       255,
       &out_length,
       SQL_DRIVER_NOPROMPT);
Go up to
Getting started with solidDB ODBC