Connect dialog: Identification tab

The Identification tab of the Connect dialog has the following components:

User ID    Type a user ID for the connection. The default user ID for Adaptive Server Anywhere databases is DBA. The user ID you supply must have permissions on a database in order to connect.

Password    Type a password for the connection. The default password for Adaptive Server 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.

Extended characters used in passwords are case-sensitive, regardless of the database sensitivity setting.

For more information about passwords and case sensitivity, see .

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 Adaptive Server 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. As well, you must connect using the iAnywhere JDBC driver (the iAnywhere JDBC driver is selected by default when you choose the Use Integrated Login option).

For more information about integrated logins, see .

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 from the dropdown list.

For information about the DSN connection parameter, see .

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 the Connect dialog. 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 the Connect dialog.

Note 

Any information you enter in the Connect dialog, 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.

Troubleshooting 

If you use an ODBC data source and fail to connect, test your data source.

To test an ODBC data source, click the Open ODBC Administrator Button on the Identification tab of the Connect dialog, or from the Start menu, choose Programs > SQL Anywhere 9 > Adaptive Server Anywhere > ODBC Administrator.

On the User DSN tab of the ODBC Data Source Administrator dialog, select an ODBC data source from the list and click Configure. This opens the ODBC Configuration for Adaptive Server Anywhere dialog.

On the ODBC tab of the ODBC Configuration for Adaptive Server Anywhere dialog, click Test Connection. A dialog appears telling you whether or not the connection succeeds.

For more information about ODBC data sources, see .

See also