Specifying protocols

By specifying the -x option, you can instruct a database server to use only some of the available network protocols. The following command starts the sample database on the network database server using the TCP/IP protocol:

dbsrv12 -x "tcpip" samples-dir\demo.db

The following command starts the sample database on the personal database server using the TCP/IP protocol:

dbeng12 -x "tcpip" samples-dir\demo.db

Although not strictly required in this example, the quotation marks are necessary if there are spaces in any of the arguments to -x.

You can add additional parameters to tune the behavior of the server for each protocol. For example, the following command (typed all on one line) instructs the server to use two network cards.

dbsrv12 -x "tcpip(MyIP=192.75.209.12,192.75.209.32)" samples-dir\demo.db

For more information about available network protocol options that can be used with the -x option, see Network protocol options.