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

SQL Anywhere 12.0.1 » SQL Anywhere Server - Database Administration » Starting and connecting to your database » SQL Anywhere database connections » Troubleshooting connections


Caching database server address information in sasrv.ini for faster connections

When using the Host or CommLinks connection parameter, attempting multiple TCP/IP connections or broadcasting over large networks to search for a database server of a specific name can be time-consuming. Caching database server addresses speeds up network connections by saving the following information to the sasrv.ini file to be used for subsequent connections:

  • the database server name

  • the database server's IP address

The cache file contains a set of sections, each of the following form:

[Server name]

It is important that each database server has a unique name. Giving different database servers the same name can lead to identification problems.

 How the database server address cache (sasrv.ini) is used
 Location of the sasrv.ini file
 See also