To supply the runtime connection information for a Sybase Adaptive Server Enterprise (ASE) database server endpoint, create a Sybase ASE connection profile. You have the following options:
Define an ASE connection profile that exposes a single or multiple databases and supports a nontransactional database service.
Define an ASE XA connection profile that exposes a single or multiple databases and supports a transactional database service.
Prerequisites: If you plan to use a JDBC driver other than the default ASE driver provided by Sybase WorkSpace, verify that you have defined all your drivers before creating a connection profile.
To create an ASE 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 ASE 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: ASEServerName. |
Description | Enter a profile description that helps you distinguish it from others. For example: YourCorp ASE |
Auto-Connect | (Optional) Select the check box to automatically connect to the server and display its contents in the Enterprise Explorer. This happens whenever the Enterprise Explorer is opened. |
Specify a Driver and Connection Details page
Field | Description |
---|---|
Select Driver | Sybase ASE Default is automatically populated based on the default driver selection. NoteTo create a connection profile for a transactional database service, select Sybase ASE XA Default from the drop-down list. |
Host | For example: YourASEServer |
Port | For example: 2638 |
User Name | 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. |
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.
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 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.
Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com