Connect window: Identification tab (SQL Anywhere)

This tab has the following components:

Supply user ID and password   Select this option to specify a user ID and password for the connection.

  • User ID   Type a user ID for the connection. The default user ID for SQL Anywhere databases is DBA. The user ID you supply must have permissions on a database to connect. See Userid connection parameter [UID].

  • Password   Type a password for the connection. The default password for SQL Anywhere databases is sql when you connect with the default user, DBA. The password must be the correct password for the user ID you supply. Passwords are case sensitive. See Password connection parameter [PWD].

Use integrated login   Select this option to connect to the database using an integrated login on Windows.

If you select this option, your database user ID and password do not need to be specified: instead, your Windows user ID and password are supplied to the SQL Anywhere integrated login mechanism.

To use integrated logins, you must have been granted integrated login permission on the database and the database server must be set up to accept integrated logins. See: Using integrated logins.

None   Select this option if you are not using an ODBC data source for the connection.

ODBC Data Source name   Select this option to choose a data source (a stored set of connection parameters) for connecting to your database. This field is equivalent to the DSN connection parameter, which references a data source in the registry. You can view a list of data sources by clicking Browse.

You can also select a recently used ODBC data source from the dropdown list. See DataSourceName connection parameter [DSN] and Creating ODBC data sources.

  • Open the ODBC Data Source Administrator button   Click the Open the ODBC Data Source Administrator button to open the ODBC Administrator window where you can select an ODBC data source from the list of available data sources. If you want to select a data source, select it from the list and then click OK.

    You may also choose to create a new data source or configure an existing data source to use for the connection.

    For information about using the ODBC Administrator window, see Creating ODBC data sources.

Tip

ODBC data sources allow you to store connection information. If you have connection information stored in an ODBC data source, do not repeat this information in this Connect window. For example, if the ODBC data source already contains a user ID, then do not supply the user ID in the User ID field of this Connect window.

Any information you enter in this Connect window, such as the user ID or database name, takes precedence over the parameters stored in an ODBC data source or an ODBC data source file.

ODBC Data Source file   Select this option to choose a data source file for the connection. You can search for the file by clicking Browse. The ODBC data source file is often used for Unix systems.

You can also select a recently used ODBC data source file from the dropdown list.

File data sources hold the same information as ODBC data sources stored in the registry. See FileDataSourceName connection parameter [FILEDSN].

Tools   The following tools are available:

  • Test Connection   This tool tests whether the information provided results in a proper connection. This tool is only available when you are connecting to a SQL Anywhere database.

    Click Show Details to see debugging information about how the connection parameters are used to find the database server.

  • Setup Windows Mobile proxy port   This tool helps you set up a TCP/IP port redirector for connecting to Windows Mobile databases (if Windows Mobile services are installed). This tool is only available if you have ActiveSync installed and are connecting to a SQL Anywhere or UltraLite database.

  • Save as ODBC Data Source   This tool creates an ODBC data source based on the information provided. See Create ODBC data sources using the Connect window.

  • Copy Connection String to Clipboard   This tool copies the connection string, which is based on the information provided in the Connect window, to the clipboard.

See also