Either double-click the JAR file or execute the jar file from the command-line.įill in the connection properties and copy the connection string to the clipboard.Ī typical JDBC URL is the following: jdbc:googlesheets:Spreadsheet=MySheet InitiateOAuth=GETANDREFRESH See the Getting Started chapter in the help documentation to connect to Google Sheets from different types of accounts: Google accounts, Google Apps accounts, and accounts using two-step verification.įor assistance in constructing the JDBC URL, use the connection string designer built into the Google Sheets JDBC Driver. To authenticate with a service account, you will need to register an application to obtain the OAuth JWT values. OAuth also enables you to use a service account to connect on behalf of users in a Google Apps domain. To access Google APIs on behalf on individual users, you can use the embedded credentials or you can register your own OAuth app. Instead, use the OAuth 2.0 authentication standard.
If you want to view a list of information about the spreadsheets in your Google Drive, execute a query to the Spreadsheets view after you authenticate.ĬlientLogin (username/password authentication) has been officially deprecated since Apand is now no longer available. You can connect to a spreadsheet by providing authentication to Google and then setting the Spreadsheet connection property to the name or feed link of the spreadsheet. The JDBC URL begins with jdbc:googlesheets: and is followed by a semicolon-separated list of connection properties. (This property can also be set in the JDBC URL.)
#RAZORSQL NO LIB DIRECTORY DRIVER#
Driver Class: Set the driver class to.Driver Location: Set this property to the path to the lib subfolder in the installation directory.In the Connection Wizard that appears, set the following properties:.Open the RazorSQL application and, in the Connections menu, select Add Connection Profile -> Other -> JDBC.
#RAZORSQL NO LIB DIRECTORY HOW TO#
This article shows how to connect to Google Sheets using wizards in RazorSQL.Ĭreate a JDBC Data Source for Google Sheets Data The CData JDBC Driver for Google Sheets enables standards-based access from third-party tools, from wizards in IDEs to data management and analysis tools.