{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"redocly_category":"Guides","type":"markdown"},"seo":{"title":"Razorsql Install and Use With TD","description":"Treasure Data Product Documentation · Collect and Unify · Segment and Activate · Experiment and Analyze · Decisioning Automate with AI Scale and Trust.","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":"razorsql-install-and-use-with-td","__idx":0},"children":["Razorsql Install and Use With TD"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://razorsql.com/"},"children":["RazorSQL"]}," is a free, DBMS-independent, cross-platform SQL query tool. You can use RazorSQL as SQL authoring tool to interactively develop SQL queries with Treasure Data."]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#install"},"children":["Install"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#download-treasure-data-jdbc-driver"},"children":["Download Treasure Data JDBC Driver"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#add-treasure-data-connection"},"children":["Add Treasure Data Connection"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"install","__idx":1},"children":["Install"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Download the latest SQL RazorSQL installer and install the application."]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://razorsql.com/"},"children":["RazorSQL: Download"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"download-treasure-data-jdbc-driver","__idx":2},"children":["Download Treasure Data JDBC Driver"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Download Treasure Data’s JDBC Driver:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"http://central.maven.org/maven2/com/treasuredata/td-jdbc/"},"children":["JDBC Driver Download"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"add-treasure-data-connection","__idx":3},"children":["Add Treasure Data Connection"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In the RazorSQL tool, select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Connections"]}," > ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Connect"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Select OTHER as a connection type."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20190926-194647.7e48fa0c9a4cd40cf22eeb41c08d7ccd9e3abbeb2663e9251478e0fc05a4679e.60bcc915.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Edit the Treasure Data JDBC driver information."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20190926-194730.c0d7bb326502a16475e2cf57dc8719758bfe43e1e28f9f84f7bb3ca410d9ec9f.60bcc915.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Profile Name: Treasure Data"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Driver Location: JDBC driver file path"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Driver Class: com.treasuredata.jdbc.TreasureDataDriver"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Login: your email address"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Password: your password"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["JDBC URL"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/data-workbench/queries/hive/quickstart"},"children":["Hive"]},": jdbc:td://api.treasuredata.com/< database >;useSSL=true;type=hive"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/data-workbench/queries/trino/quickstart"},"children":["Presto"]},": jdbc:td://api.treasuredata.com/< database >;useSSL=true;type=presto"]}]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Auto Commit: off"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["SQL Restrictions: Read Only"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"issue-the-query","__idx":4},"children":["Issue the Query"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You’ll see a list of tables and its columns by GUI."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20190926-194817.6ebcbc09459f0c5c75dcec00b8acae2efc05dacfed4fff021179116f9350ce19.60bcc915.png","alt":""},"children":[]}]}]},"headings":[{"value":"Razorsql Install and Use With TD","id":"razorsql-install-and-use-with-td","depth":1},{"value":"Install","id":"install","depth":1},{"value":"Download Treasure Data JDBC Driver","id":"download-treasure-data-jdbc-driver","depth":1},{"value":"Add Treasure Data Connection","id":"add-treasure-data-connection","depth":1},{"value":"Issue the Query","id":"issue-the-query","depth":2}],"frontmatter":{"seo":{"title":"Razorsql Install and Use With TD"}},"lastModified":"2026-03-10T06:52:05.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/tools/cli-and-sdks/razorsql-install-and-use-with-td","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}