É uma prática recomendada encriptar o tráfego de rede entre a aplicação Looker e a sua base de dados. Considere uma das opções descritas na página de documentação Ativar o acesso seguro à base de dados.
Instalar a função definida pelo utilizador (UDF) hash_md5
Antes de configurar o Looker para funcionar com o Teradata, tem de instalar a hash_md5função definida pelo utilizador (UDF) no seu servidor Teradata. Pode encontrar instruções para instalar a FDU nesta página de transferências do Teradata.
Instalar o controlador JDBC do Teradata
Se tiver uma instância do Looker (original), tem de configurar um controlador do Teradata antes de criar a ligação do Looker. Estas instruções descrevem esse processo, partindo do princípio de que usa um script de arranque semelhante aos exemplos fornecidos na página do GitHub do Looker de código aberto.
hash_md5
Para instalar o controlador, tem de adquirir dois ficheiros do Teradata, incluí-los como parte do processo de arranque e adicionar uma opção para indicar ao Looker que aceda ao controlador.
Para criar a ligação do Looker à sua base de dados, siga estes passos:
Na secção Administração do Looker, selecione Ligações e, de seguida, clique em Adicionar ligação.
Selecione Teradata no menu pendente Dialeto.
Preencha os detalhes da ligação. A maioria das definições é comum à maioria dos dialetos de bases de dados. Consulte a página de documentação Associar o Looker à sua base de dados para ver informações.
Para verificar se a associação foi bem-sucedida, clique em Testar. Consulte a página de documentação Testar a conetividade da base de dados para ver informações de resolução de problemas.
Para guardar estas definições, clique em Associar.
Suporte de funcionalidades
Para que o Looker suporte algumas funcionalidades, o dialeto da base de dados também tem de as suportar.
O Teradata suporta as seguintes funcionalidades a partir do Looker 25.14:
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-08-20 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:"]]