Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SAP Sybase SQL Anywhere 16.0 » SQL Anywhere Server - Database Administration » SQL Anywhere database connections » Database connections » Connection parameters and connection strings

 

Common connection scenarios

The connection parameters required to connect to a database vary depending on whether multiple database servers are running on the same computer, whether multiple databases are running on the same database server, and whether the client application is running on the same computer as the database server.

Note

A single computer can run multiple database servers at the same time. For this reason, it is recommended that you always specify the database server name (ServerName=server-name) when authenticating to a database server.

Each database server can run multiple databases at the same time. For this reason, it is recommended that you always specify the database name (DatabaseName=database-name) when authenticating to a database server.

The following tables contain several common connection scenarios and the client connection parameters that are required in each case. By combining these connection parameters, you can correctly identify the database you want to connect to. In addition to those listed below, SQL Anywhere supports many connection parameters to handle less common connection scenarios.

 Shared memory connections to local servers
 Connections to network servers
 See also
 Examples

Default connection parameters