Skip to main content

Setting up a database connection

To create a database connection from scratch, expand Metadata in the Repository tree view, right-click Db Connections and select Create connection from the contextual menu to open the database connection setup wizard.

To select the type of the database to which you want to connect, type in the name of the database in the Find text box or scroll down directly in the list, and then, click the desired database.
Database Connection dialog box.

To centralize database connection parameters you have defined in a Job, click Save the property to Metadata in the Basic settings view of the relevant database component with its Property Type set to Built-in to open the database connection setup wizard.

To modify an existing database connection, right-click the connection item from the Repository tree view, and select Edit connection to open the connection setup wizard.

Then define the general properties and parameters of the connection in the wizard.

Information noteNote: To avoid connection failure to the Impala database with Kerberos authentication, do the following steps:
  1. Create a configuration file, for example impala_cdp71.conf, with the following structure:
    Client {
    com.sun.security.auth.module.Krb5LoginModule required
    useKeyTab=true
    keyTab="/PathToTheClusterKeytabInYourMachine.keytab"
    principal="automation@BIGDATA.COM"
    doNotPrompt=true;
    };
  2. Edit the <TALEND_HOME>/configuration/config.ini directory with the following properties that link to the created configuration file:
    java.security.auth.login.config=/Users/Desktop/impala_cdp71.conf
    java.security.krb5.kdc=sur-qa-017.talend.lan
    java.security.krb5.realm=BIGDATA.COM

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!