ODBC Driver for Google Drive

Build 25.0.9434

Connecting

To connect to Google Drive, you can use either a DSN or an ODBC connection string. Both of these methods use the connect function.

Connect to a DSN

To connect using a DSN:

cnxn = pyodbc.connect("DSN=CData GoogleDrive Sys;User=MyUser;Password=MyPassword")

Provide a Driver Connection String

To connect using an ODBC connection string:

cnxn = pyodbc.connect("DRIVER={CData ODBC Driver for Google Drive};InitiateOAuth=GETANDREFRESH;OAuthClientId=myClientId;OAuthClientSecret=myClientSecret;OAuthSettingsLocation=myOAuthSettings.txt;")

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434