Discover how a bimodal integration strategy can address the major data management challenges facing your organization today.
Get the Report →Query QuickBooks Time Data in MySQL Workbench
Create a virtual MySQL database for QuickBooks Time data in CData Connect (or Connect Server) and work with live QuickBooks Time data in MySQL Workbench.
MySQL Workbench allows users to administer MySQL environments and gain better visibility into databases. When paired with CData Connect (on-premise or Connect Server), you get live access to QuickBooks Time data as if it were a MySQL database. This article shows how to create a virtual database for QuickBooks Time in Connect and work with live QuickBooks Time data in MySQL Workbench.
Create a Virtual MySQL Database for QuickBooks Time Data
CData Connect uses a straightforward, point-and-click interface to connect to data sources and generate APIs.
- Login to Connect and click Connections.
- Select "QuickBooks Time" from Available Data Sources.
-
Enter the necessary authentication properties to connect to QuickBooks Time.
TSheets uses the OAuth2 standard for authentication and authorization. To construct your own OAuth app and connect to data, refer to OAuth section in the Help.
- Click Save Changes
- Click Privileges -> Add and add the new user (or an existing user) with the appropriate permissions.
With the virtual database created, you are ready to connect to QuickBooks Time from MySQL Workbench.
Query QuickBooks Time from MySQL Workbench
The steps below outline connecting to the virtual QuickBooks Time database in Connect from MySQL Workbench and issuing basic queries to work with live QuickBooks Time data.
Connect to QuickBooks Time through Connect
- In MySQL Workbench, click to add a new MySQL connection.
- Name the connection (CData Connect).
- Set the Hostname, Port, and Username parameters to connect to the SQL Gateway.
- Click Store in Vault to set and store the password.
- Click Test Connection to ensure the connection is configured properly and click OK.
![Connecting to the CData Connect from MySQL Workbench.](../articles/connect-mysql-workbench-1.png)
Query QuickBooks Time Data
- Open the connection you just created (CData Connect).
- Click File -> New Query Tab.
- Write a SQL query to retrieve QuickBooks Time data, like SELECT * FROM tsheetsdb.Timesheets;
![Viewing live data in MySQL Workbench (SQL Server is shown).](../articles/connect-mysql-workbench-2.png)
With access to live QuickBooks Time data from MySQL Workbench, you can easily query and update QuickBooks Time, just like you would a MySQL database. Request a demo of the CData Connect and start working with QuickBooks Time just like a MySQL database today.