Connection information deployment

ODBC client connection information is generally deployed as an ODBC data source. You can deploy an ODBC data source in one of the following ways:

  • Programmatically   Add a data source description to your end-user's registry or ODBC initialization files.

  • Manually   Provide your end users with instructions, so that they can create an appropriate data source on their own computer.

    On Windows, you create a data source manually using the ODBC Data Source Administrator, from the User DSN tab or the System DSN tab. The SQL Anywhere ODBC driver displays the configuration window for entering settings. Data source settings include the location of the database file, the name of the database server, and any start up parameters and other options. Context sensitive help is accessed by clicking the Help button. Help text is provided locally using sacshelp12.chm. If this file is not present, then help is provided over the Internet from DocCommentXchange using the system's default Internet browser.

    On Unix platforms, you can create a data source manually using the SQL Anywhere dbdsn utility. Data source settings include the location of the database file, the name of the database server, and any start up parameters and other options.

This section provides you with the information you need to know for either approach.

 Types of data source (Windows)
 Data source registry entries (Windows)
 Required and optional connection parameters
 See also