To supply the runtime connection information for a Sybase Adaptive Server IQ (ASIQ) database server endpoint, create a Sybase ASIQ connection profile. You have the following options:
Define an ASIQ connection profile that exposes a single database.
Define an ASIQ connection profile that exposes multiple databases.
Prerequisites: If you plan to use a JDBC driver other than the default ASIQ driver provided by Sybase WorkSpace, verify that you have defined your driver before creating a connection profile.
To create an ASIQ 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 ASIQ 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, ASIQServerName |
Description | Enter a profile description that helps you distinguish it from others. For example, YourCorp ASIQ |
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 ASIQ Default is automatically populated based on the default driver selection. |
Host Name | Enter the host name. For example, localhost |
Database Name | Choose from the following:
|
Port Number | Enter the port number. For example, 2638 |
User Name | Enter the name of the authorized user. For example, dba |
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, use can specify the databases you want to create connection profiles for. Do the following:
On the Check for Multiple Database ASIQ 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