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 » Troubleshooting: connections

 

Troubleshooting: How database servers are located

When SQL Anywhere locates a running server, it tries to locate or start the required database on that server. See Troubleshooting: How database servers are located.

If SQL Anywhere cannot locate a running server, it may attempt to start a personal server, depending on the connection parameters.

Note
  • For local connections, locating a server is simple. For connections over a network, the Host connection parameter is recommended.

  • For information about how the client finds a network server see Troubleshooting: How the Host connection parameter locates database servers.

  • If the server is started automatically, then information from the START, DBF, DBKEY, DBS, DBN, Server, and AutoStop connection parameters is used to construct the options for the automatically started server. The server does not automatically start if the Host or the CommLinks=TCPIP connection parameters are specified.

  • If the server has an alternate server name, you can only use the alternate server name to connect to the database that specified the alternate server name. You cannot use the alternate server name to connect to any other databases running on that database server. See AS PRIMARY clause, CREATE MIRROR SERVER statement, and -sn database option.

The following diagrams illustrate how SQL Anywhere locates a database server.

 Connection string does not include the CommLinks or the Host connection parameters
 Connection string includes the Host connection parameter or the CommLinks connection parameter specifies TCPIP
 Connection string includes a CommLinks connection parameter that is set to ShMem and TCPIP
 See also