User Community Service Desk Downloads
If you can't find the product or version you're looking for, visit support.ataccama.com/downloads

Databases

All Ataccama solutions use databases in one way or another. They can be used as data sources and repositories for storing data. Profiles can be created from data stored in databases too.

Connect to a database

To connect to a database:

  1. Right-click the Databases node in the File Explorer and select New Database Connection.

    New database connection
  2. Configure the connection and select the environment in which to create the connection.

    • Database type: The database connection type.

    • Connection name: The name for the new database connection.

    • Host: The hostname or IP of the database host.

    • Port: The port allocated for the database connection.

    • Database name or Catalog: The name of the database instance located on the host.

    • Username: The username used to connect to the database.

    • Password: The password used to connect to the database.

      Configure new database connection
  3. After you set up the database connection, the database is shown in the Databases node in the Explorer panel. To connect to the database, right-click the connection name and select Connect.

    Connect to the database

View table properties

Select the table name to display the table metadata on the Properties tab.

Table properties in the Status panel

Execute SQL queries

To view the results of an SQL query on a table, double-click the table.

SQL Editor

A default query is shown, listing all table entries (grouped in batches if the number of rows is large). To change the query, edit the query text and select Execute. To retrieve more results from the query, select Next Batch or Read Rest to show all results.

To learn how to use data from a database in a plan, refer to the JDBC Reader step documentation in the product Help (Help > Help Contents).

Install database connectivity drivers

ONE Desktop uses the Java Database Connectivity (JDBC) API for connecting to databases. JDBC drivers are available for most database engines and are distributed as a component of the database engine or separately as connectivity components.

The licensing terms do not always allow distribution of these drivers with Ataccama products. Therefore, only a basic set of drivers for the most common databases is shipped. You can download and install additional drivers on your own.

Bundled database drivers

The database drivers that are shipped with the product are installed automatically when ONE Desktop is started for the first time. For the list of the drivers, see Supported Data Sources.

Install custom drivers

To install additional (custom) database drivers:

  1. Download the required driver, usually an archive.

  2. Extract the archive to the desired location.

  3. Go to Window > Preferences > [your product] > Database.

  4. Add or edit a database driver:

    1. In the case of a preconfigured driver (that is, a driver that is already on the list, for example, MySQL) double-click it.

      Edit driver
    2. In case you want to add a new database driver, select Add.

    3. Provide the following information:

      • Driver name: The name of the database. This is used in the Database type dropdown when adding a new database connection.

      • URL hint: The hint of the correct format for the JDBC string supported by the database driver in question, for example, jdbc:mariadb://<host>:<port:3306>/<database_name>.

      • Driver class: This is automatically filled once you add the driver’s classpath property.

      • Driver’s classpath: There are three options for adding the driver’s classpath:

        • Add JAR Folder: Adds all .jar files in the path by adding a wildcard, for example, C:/Drivers/DBs/MariaDB/*.

        • Add Folder: Adds the path of the browsed folder, for example, C:/Drivers/DBs/MariaDB.

        • Add JARs: Allows you to select specific *.jar files from the folder.

          Add driver configuration
  5. Select OK to finish.

    The configured driver has a green light and YES in the Configured column of the table.

Was this page useful?