To supply the runtime connection information for a Sybase Adaptive Server Anywhere (ASA) database server endpoint, create a Sybase ASA connection profile. You have the following options:
Use the fully-configured default Sybase ASA connection profile called MyDatabase.
Define an ASA connection profile that exposes a single database.
Define an ASA connection profile that exposes multiple databases.
Prerequisites: If you plan to use a JDBC driver other than the default ASA driver provided by Sybase WorkSpace, verify that you have defined your driver before creating a connection profile.
To create an ASA connection profile:
Open the New Connection Profile wizard. Choose from the following:
In the Service Development perspective, select File|New|Other from the main menu bar. Then Select Connection Profiles|Connection Profile and click Next.
In the Enterprise Explorer, right-click Databases and select New from the context menu.
In the Database Explorer, right-click Database Connection Profiles and select New Connection Profile from the context menu.
In the Wizard Selection Page, select Sybase ASA and click Next.
Complete the following information on the wizard pages and click Next:
Name and Description page
Field | Description |
---|---|
Name | Enter a unique and descriptive name for the profile. For example: ASAServerName. |
Description | Enter a profile description that helps you distinguish it from others. For example: YourCorp ASA. |
Auto-Connect | (Optional) Select the check box to automatically connect to the server and display its contents in the Enterprise Explorer. A connection is established whenever the Enterprise Explorer is opened. |
Specify a Driver and Connection Details page
Field | Description |
---|---|
Connection Properties | |
Select Driver | Sybase ASA Default is automatically populated based on the default driver selection. |
Host | Enter the host name. For example: YourASAServer |
Database Name | Choose from the following:
|
Port Number | Enter the port number. For example: 7200 |
User Name | Enter the name of the authorized user. For example: dbadmin |
Password |
|
Filter Properties | |
Catalog | Expose a single database, using % as the wild card, for example, DATABASE%. To expose all databases in the catalog, enter % or leave blank. NoteCatalog filter property does not apply to Sybase ASA or Sybase ASIQ. |
Schema | Specify a schema or filter by schema name, using % as the wild card. For example, TABL%. To specify all schemas in the catalog, enter % |
Procedure Name | Specify a procedure or filter by procedure name, using % as the wild card, for example: ADDR%. To specify all procedures in the schema, enter %. |
Other Properties |
|
Test the connection. Click Test connection to ping the database server.
(Optional) If your database server exposes multiple databases, specify the databases you want to create connection profiles for. Do the following:
On the Check for Multiple Database ASA Server page, click Check for multiple databases to display a list of available databases.
Select the databases you want to create a connection profile for, then click Next.
Review the Summary page. Click Back to make changes or Finish to create the connection profile.
The profile appears in the Enterprise Explorer under Databases and in the Database Explorer under Database Connection Profiles.
If you opted to access multiple databases, a connection profile appears for each database.
If you selected Auto-Connect in the Name and Description page, the connection profile is also connected.
If you change the connection properties of a connection profile that is already connected, the connection profile will immediately disconnect from the resources and automatically attempt to reconnect using the updated information.
Using the Default Connection Profiles
Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com