Es empfiehlt sich, den Netzwerkverkehr zwischen der Looker-Anwendung und Ihrer Datenbank zu verschlüsseln. Prüfen Sie eine der Optionen, die auf der Dokumentationsseite Sicheren Datenbankzugriff ermöglichen beschrieben werden.
hash_md5-UDF installieren
Bevor Sie Looker für die Verwendung mit Teradata konfigurieren, müssen Sie die nutzerdefinierte Funktion (User-Defined Function, UDF) hash_md5 auf Ihrem Teradata-Server installieren. Eine Anleitung zur Installation der UDF finden Sie auf dieser Teradata-Downloadseite.
Teradata JDBC-Treiber installieren
Wenn Sie eine Looker-Instanz (Original) haben, müssen Sie einen Teradata-Treiber konfigurieren, bevor Sie die Looker-Verbindung erstellen. In dieser Anleitung wird dieser Prozess beschrieben. Dabei wird davon ausgegangen, dass Sie ein Startskript verwenden, das den Beispielen auf der GitHub-Seite „looker-open-source“ ähnelt.
Um den Treiber zu installieren, müssen Sie zwei Teradata-Dateien abrufen, sie in den Startprozess einbeziehen und eine Option hinzufügen, mit der Looker auf den Treiber zugreifen kann.
Folgen Sie der Anleitung auf der Dokumentationsseite Nicht verpackte JDBC-Treiber und verwenden Sie die folgenden Werte:
So erstellen Sie die Verbindung von Looker zu Ihrer Datenbank:
Wählen Sie in Looker im Bereich Admin die Option Verbindungen aus und klicken Sie dann auf Verbindung hinzufügen.
Wählen Sie im Drop-down-Menü Dialekt die Option Teradata aus.
Geben Sie die Verbindungsdetails ein. Der Großteil der Einstellungen gilt für die meisten Datenbankdialekte. Weitere Informationen finden Sie auf der Dokumentationsseite Looker mit Ihrer Datenbank verbinden.
Klicken Sie auf Test, um zu prüfen, ob die Verbindung erfolgreich hergestellt wurde. Informationen zur Fehlerbehebung finden Sie auf der Dokumentationsseite Datenbankkonnektivität testen.
Klicken Sie auf Verbinden, um diese Einstellungen zu speichern.
Funktionsunterstützung
Damit Looker einige Funktionen unterstützen kann, müssen diese auch von Ihrem Datenbankdialekt unterstützt werden.
Teradata unterstützt ab Looker 25.12 die folgenden Funktionen:
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-08-25 (UTC)."],[],[],null,["# Teradata\n\n| **Note:** See the [Teradata end-user license agreement](/looker/docs/db-teradata-eula).\n\nThe procedures that are required to connect Looker to a Teradata database depend on your Looker deployment:\n\n- For Looker-hosted, Looker (original) instances, contact [Looker Support](/looker/docs/best-practices/looker-support-details) if you want to enable the Teradata driver.\n\n- For [customer-hosted](/looker/docs/glossary#customer-hosted) Looker (original) instances, perform the following procedures:\n\n 1. [Install the `hash_md5` user-defined function (UDF) on your Teradata server](#install-udf).\n 2. [Install the Teradata JDBC driver](#install-jdbc-driver).\n 3. [Create the Looker connection to your database](#creating-the-connection-to-your-database).\n- For [Looker (Google Cloud core)](/looker/docs/looker-core-overview) instances, perform the following procedures:\n\n 1. [Install the `hash_md5` user-defined function (UDF) on your Teradata server](#install-udf).\n 2. [Create the Looker connection to your database](#creating-the-connection-to-your-database).\n\nEncrypting network traffic\n--------------------------\n\nIt is a best practice to encrypt network traffic between the Looker application and your database. Consider one of the options described on the [Enabling secure database access](/looker/docs/enabling-secure-db-access) documentation page.\n\nInstalling the `hash_md5` user-defined function (UDF)\n-----------------------------------------------------\n\nBefore configuring Looker to work with Teradata, you must install the `hash_md5` user-defined function (UDF) on your Teradata server. You can find instructions for installing the UDF on this [Teradata downloads](https://downloads.teradata.com/download/extensibility/md5-message-digest-udf) page.\n\nInstalling the Teradata JDBC driver\n-----------------------------------\n\nIf you have a Looker (original) instance, you will need to configure a Teradata driver before creating the Looker connection. These instructions describe that process, assuming use of a startup script that is similar to the examples that are provided on the [looker-open-source GitHub page](https://github.com/looker-open-source/customer-scripts/tree/master/startup_scripts).\n| **Note:** If you have a [Looker (Google Cloud core)](/looker/docs/looker-core-overview) instance, you can create a connection to a Teradata database without configuring a Teradata driver. After you [install the `hash_md5` user-defined function (UDF) on your Teradata server](#install-udf), you can go right to the [Creating the Looker connection to your database](#creating-the-connection-to-your-database) procedure on this page.\n\nTo install the driver, you will need to acquire two Teradata files, include them as part of the startup process, and add an option to tell Looker to access the driver.\n\nFollow the steps on the [Unpackaged JDBC drivers](/looker/docs/unpackaged-jdbc-drivers) documentation page using the following values:\n\n**driver symbol** : `teradata`\n\n**driver entry**: \n\n - name: teradata\n dir_name: teradata\n module_path: com.teradata.jdbc.TeraDriver\n\nFor the [step to put the driver in your dialect's directory](/looker/docs/unpackaged-jdbc-drivers#driver_directory), the paths to these files will look like this:\n\n- `looker/custom_jdbc_drivers/teradata/tdgssconfig.jar`\n- `looker/custom_jdbc_drivers/teradata/terajdbc4.jar`\n\nCreating the Looker connection to your database\n-----------------------------------------------\n\nTo create the connection from Looker to your database, follow these steps:\n\n1. In the **Admin** section of Looker, select **Connections** , and then click **Add Connection**.\n2. Select **Teradata** from the **Dialect** drop-down menu.\n3. Fill out the connection details. The majority of the settings are common to most database dialects. See the [Connecting Looker to your database](/looker/docs/connecting-to-your-db) documentation page for information.\n4. To verify that the connection is successful, click **Test** . See the [Testing database connectivity](/looker/docs/testing-db-connectivity) documentation page for troubleshooting information.\n5. To save these settings, click **Connect**.\n\nFeature support\n---------------\n\nFor Looker to support some features, your database dialect must also support them.\n\nTeradata supports the following features as of Looker 25.14:"]]