{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"redocly_category":"Guides","type":"markdown"},"seo":{"title":"ODBC Driver for Presto","description":"Connect to Treasure Data using the Presto ODBC driver for Windows","siteUrl":"https://docs.treasuredata.com","lang":"en-US","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"odbc-driver-for-presto","__idx":0},"children":["ODBC Driver for Presto"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure Data provides a Presto API that can integrate directly with our Presto-specific ODBC driver. The installer for the driver is currently available for Windows 64-bit platform only."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"danger"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The Presto ODBC driver will be deprecated in June 2025. There are no plans to provide updates to the ODBC driver in the future; consider using the OSS ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://repo1.maven.org/maven2/io/trino/trino-jdbc/"},"children":["Trino JDBC Drive"]}]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/tools/cli-and-sdks/odbc-driver-for-presto#release-downloads"},"children":["Release Downloads"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/tools/cli-and-sdks/odbc-driver-for-presto#windows-system-requirements"},"children":["Windows System Requirements"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/tools/cli-and-sdks/odbc-driver-for-presto#migrate-from-treasure-data-odbc-driver-for-32bit"},"children":["Migrate from Treasure Data ODBC Driver for 32bit"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/tools/cli-and-sdks/odbc-driver-for-presto#install-the-driver-on-windows-64-bit"},"children":["Install the Driver on Windows (64-bit)"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/tools/cli-and-sdks/odbc-driver-for-presto#configure-the-proxy-server"},"children":["Configure the Proxy Server"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"release-downloads","__idx":1},"children":["Release Downloads"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The downloads are available from your account or support representative."]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://drive.google.com/file/d/1wGsWZ2krN-6f9d65AsbnVv1kheWMJ8X0/view?usp=sharing"},"children":["TreasureDataPrestoODBC.msi"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Windows Treasure Data Presto ODBC Driver installer"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://drive.google.com/file/d/1juqsZfEjJ-_ca4BYlbVl2UMkcTxg-MPa/view?usp=sharing"},"children":["Treasure Data Presto ODBC Driver.tdc"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Tableau Datasource Customization File (.tdc) for Tableau users."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Copy this file to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["My Documents\\My Tableau Repositories\\Data Sources"]}," folder."]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["This file controls Tableau to use Presto compatible SQL queries."]}]}]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["2020-06-16 Download",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://drive.google.com/file/d/1wGsWZ2krN-6f9d65AsbnVv1kheWMJ8X0/view?usp=sharing"},"children":[" __ 1.4.0"]}," – you must select Download."]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Support for two-way authentication"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Support for Open-source Presto Server versions 0.235 and earlier"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Support Presto Foundation Server 333 and earlier"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The driver requires TLS version 1.2"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Installer ships with visual c++ 14 runtime libraries (x64)"]}]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["2018-06-19 Download ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://treasuredata.zendesk.com/knowledge/revisions/QnJhbmQ6MzgxMjE3/QXJ0aWNsZTozNjAwMDA3MDkxNjc6MzQ=/en-us?showDiff=true"},"children":["1.3.0"]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"windows-system-requirements","__idx":2},"children":["Windows System Requirements"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["One of the following operating systems:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Windows Vista, 7, 8, or 10"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Windows Server 2008 or later"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Visual C++ Redistributable Packages for Visual Studio 2013 installed. You can download the installation packages at ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://www.microsoft.com/en-ca/download/details.aspx?id=40784"},"children":["https://www.microsoft.com/en-ca/download/details.aspx?id=40784"]},"."]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"migrate-from-treasure-data-odbc-driver-for-32bit","__idx":3},"children":["Migrate from Treasure Data ODBC Driver for 32bit"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure Data ODBC Driver for 32bit is no longer supported. Replace it with Presto ODBC Driver according to the following instructions. The old driver is no longer supported."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"install-the-driver-on-windows-64-bit","__idx":4},"children":["Install the Driver on Windows (64-bit)"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Download the ODBC driver installer ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://drive.google.com/file/d/1ybuGmhp_Y91EC0-25VWm08bKvRhu0p_s/view?usp=sharing"},"children":["TreasureDataPrestoODBC.msi"]},"."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Double-click on the installer package and follow the instructions."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Open the Start menu (or press the Windows key) and search/select ‘ODBC Data Source Administrator (64-bit)’."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Select Treasure Data Presto ODBC DSN, and select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Configure"]},"."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Enter your Master TD API key into the User field.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"Follow these instructions to obtain your Master TD API key."]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20190923-183549.5bd3ede35a9180cd5165ba8f88e4a6153c76da1df1deec15eece1af80570c40e.60bcc915.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20190923-183630.85ac44d879ec74e0d88817d7210fac0638ded33b5d24954ed4460180372db0ef.60bcc915.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":6},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Type the following values:",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Authentication Type"]}," : No Authentication",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["User"]}," : ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["YOUR MASTER API KEY"]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Host"]}," : ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://api-presto.treasuredata.com"},"children":["https://api-presto.treasuredata.com"]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Port"]}," : 443",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Catalog"]}," : td-presto"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Test"]},"."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If successful, press ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["OK."]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"configure-the-proxy-server","__idx":5},"children":["Configure the Proxy Server"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If you are connecting to a data source through a proxy server, you must provide connection information for the proxy server."]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Open the ODBC Data Source Administrator where you created the DSN. Select the DSN, select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Configure"]}," , and then select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Proxy Options"]},"."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Check the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Use Proxy Server"]}," box."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Proxy Host"]}," field, enter the hostname or IP address of the proxy server."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Proxy Port"]}," field, enter the TCP port number that the proxy server uses to listen for client connections."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Proxy Username"]}," field, enter your user name for accessing the proxy server."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Proxy Password"]}," field, enter the password of the user name."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["(Optional) To save the proxy server in the Windows registry, select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Save Password (Encrypted)"]},"."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["OK"]},"."]}]}]}]},"headings":[{"value":"ODBC Driver for Presto","id":"odbc-driver-for-presto","depth":1},{"value":"Release Downloads","id":"release-downloads","depth":1},{"value":"Windows System Requirements","id":"windows-system-requirements","depth":1},{"value":"Migrate from Treasure Data ODBC Driver for 32bit","id":"migrate-from-treasure-data-odbc-driver-for-32bit","depth":1},{"value":"Install the Driver on Windows (64-bit)","id":"install-the-driver-on-windows-64-bit","depth":1},{"value":"Configure the Proxy Server","id":"configure-the-proxy-server","depth":1}],"frontmatter":{"seo":{"title":"ODBC Driver for Presto","description":"Connect to Treasure Data using the Presto ODBC driver for Windows"}},"lastModified":"2025-12-08T07:20:21.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/tools/cli-and-sdks/odbc-driver-for-presto","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}