Create Database Connection
Database Connection may be created while creating new workspace or within an
existing workspace.
Once you add Database Connection to the workspace, it
appears on both left and right trees.
Creating database connection within an
existing workspace:
- Right-click on Database Connections node
- Use Add Database Connection
- Specify database connection name. Using descriptive name will help you
later to easily identify the database connection.
- Optional - you can specify the database connection description
- Click Next
- Select if you want to use ODBC DSN or to create a connection string
- Using an existing ODBC DSN
- From the combo box, select an existing registered ODBC DSN. (To create
new ODBC DSN, click Create New DSN and ODBC Administrator
application will open)
- Use Test Connection to check that the ODBC DSN was created
properly and can be used
- Using an ODBC connection string
- Write the ODBC connection string, according to your database
specifications.
- Alternatively, click Build button and you will be guided
through connection string creation. In the Build dialog, you can
select Database Vendor and choose if you want the connection string
to be created, based on an existing ODBC DSN, or if you just want to see
the list of the database properties and fill in them these values (the
connection string will be created according to pairs of parameter-value).
- Click Test Connection to check the connectivity, using newly
created connection string
- Select the Database Schema. Database schema parameter isn't
used in general ODBC connection. Cross-Database workspace internal environment
allows you to use this advanced connection information, in addition to general
ODBC connection information
- Schema owned by the current user All objects, created in the
database by the user, specified in ODBC connection information, will be
accessible for you via Database Connection.
- Select authorized schemas – Recommended Using Set Schemas
List button you can select the schemas, you want to work with, using
Database Connection in Cross-Database Studio. The dialog shows you all the
schemas authorized for the user defined in ODBC connection.
- Custom schema This advanced option allows you to create "virtual"
schema, which will exist only in Cross-Database software (and will not be
shown in the backend database). Using this option, you simplify and shorten
the work with the database. You may use this option, if your database contains
a huge amount of tables in different schemas while for Comparison,
Synchronization or Migration needs you will use several tables only. You can
select these tables now, creating a virtual schema. It will simplify later
connections and navigation through the tables.
- Click New Custom Schema to create the new virtual internal
schema.
- Select tables from the list (use check-box near the table name).
- Click Next
- Review the summary of the database connection configuration
- Press Finish to create the database connection
New database
connection is added.
To connect to your database, double-click on the
database connection name.
See also: