# Access live WooCommerce data in LibreOffice via JDBC

**URL:** <https://community.cdata.com/t/access-live-woocommerce-data-in-libreoffice-via-jdbc/1269>\
**Category:** Data Sources\
**Tags:** libreoffice, woocommerce, article, jdbc\
**Created:** [February 19, 2026, 4:19pm UTC](https://community.cdata.com/t/access-live-woocommerce-data-in-libreoffice-via-jdbc/1269 "2026-02-19T16:19:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tlleahy07](https://avatars.discourse-cdn.com/v4/letter/t/7cd45c/32.png) [@tlleahy07](https://community.cdata.com/u/tlleahy07)\
**Post date:** [February 19, 2026, 4:19pm UTC](https://community.cdata.com/t/access-live-woocommerce-data-in-libreoffice-via-jdbc/1269/1 "2026-02-19T16:19:22Z")

</div>

Connecting LibreOffice to a CData JDBC connector is a&nbsp;relatively smooth&nbsp;process that can be done in just a few steps. In this&nbsp;walkthrough&nbsp;I will be using the WooCommerce JDBC connector.

1. First, launch LibreOffice and in the top left, navigate from Tools → Options → LibreOffice → Advanced, and ensure Libre has access to your&nbsp;64 bit&nbsp;java run time environment installed on your machine.

Click&nbsp;“Add”&nbsp;in the top right, and navigate to JRE’s installed directory, which defaults to&nbsp; **C:\Program Files\Java\jre**

 ![1a342d57-9a6e-4ee6-ae1c-637124db10a1.png](https://us1.discourse-cdn.com/cdata/original/2X/5/5c4946081f94d83a2ef94ad8809664661ec05e69.png)

1. Next, we must let Libre know where the CData JDBC driver is by adding a Class Path on that same advanced settings page.

Click “Add Archive…” and navigate to the driver’s jar file. The driver installer defaults to something like&nbsp; **C:\Program Files\CData\CData&nbsp;JDBC Driver for WooCommerce 2025\lib\cdata.jdbc.woocommerce.jar**

Click&nbsp;“Ok”&nbsp;on&nbsp;the Class Path window, apply the Advanced Settings changes we made and then click&nbsp;“Ok” again.

 ![e9cb7047-3db9-458c-9af2-383c988960c0.png](https://us1.discourse-cdn.com/cdata/original/2X/4/4c02d863ad86af35d514c8b00d714166e77b158a.png)

1. The next step is defining the JDBC database, which can be reached by clicking “Base Database” near the bottom left of LibreOffice.&nbsp;Then we&nbsp;specify&nbsp;we are connecting to an existing JDBC database and&nbsp;click&nbsp;next.

 ![071e1e6c-ce74-4dcb-a12a-ed2b207e4542.png](https://us1.discourse-cdn.com/cdata/original/2X/3/3d63a68715c6a147ecdfe466337ff0d2a34470e3.png)

1. To set up the connection, we must define the JDBC connection string. This can be easily done by using the same cdata.jdbc.woocommerce.jar file we pointed to earlier for an interactive string building experience:

Be&nbsp;sure to copy the string after “jdbc:” as Libre automatically adds this to the string.

Because&nbsp;Libreoffice&nbsp;appends&nbsp;a&nbsp;connection property of its own named&nbsp;_type_&nbsp;to the connection string,&nbsp;as&nbsp;a&nbsp;workaround&nbsp;we&nbsp;can define the&nbsp;JDBC URL&nbsp;in an alternative way to skip&nbsp;the validation of the connection properties. The JDBC URL should look like below:

jdbc:woocommerce:novalidation:URL=“\<url\_here\>”;ConsumerKey="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<ck\_here\>“;AuthScheme=Basic;ConsumerSecret=”\<cs\_here\>";

 ![f08d6ac0-e560-4804-a416-aea29376b7f5.png](https://us1.discourse-cdn.com/cdata/original/2X/d/d7718514c5695a7789bac2dcf83aaf01d7e9cb06.png)

1. Next,&nbsp;we specify&nbsp;which driver to use by setting&nbsp;Class Name to the&nbsp;specific&nbsp;name for the JDBC driver. In this example case, it would be:&nbsp; **cdata.jdbc.woocmmerce.WoocommerceDriver**.

 ![e7bf32dc-789c-4206-a93e-fd706de5d613.png](https://us1.discourse-cdn.com/cdata/original/1X/d66d882309952e8d24444c8952a655f291651ddc.png)

1. The “Set up user authentication” page&nbsp;can be skipped since authentication is&nbsp;generally handled&nbsp;by our driver’s connection string, but we can test to make sure the&nbsp;connection&nbsp;string is correct and Libre can connect:

 ![2be1851f-16cf-4796-b2a1-8dd2392a48a1.png](https://us1.discourse-cdn.com/cdata/original/1X/46823f6d64f788dea4e9331e1b48091e0adb5420.png)

1. On the&nbsp;“Save and proceed”&nbsp;page, use the default settings and click&nbsp;“Finish”.

LibreOffice will open a file explorer window, allowing you to name your new database and specify a directory to save it.

 ![073bb6c2-ec08-42da-86d9-605eac5d7833.png](https://us1.discourse-cdn.com/cdata/original/1X/4fa718ab21995a93af2a9e95ef7619ce580ecfd2.png)

1. The last step is a quick configuration change. Libre defaults to trying to read data in both directions, while CData drivers only support forward reading. To change this, right click&nbsp;“CData”&nbsp;in the Tables window and go to Database → Advanced Settings.

Finally, check the last “Respect the result set type from the database driver” box and click&nbsp;“Ok”.

 ![1da17e29-e433-4802-82f4-cf8344505bf1.png](https://us1.discourse-cdn.com/cdata/original/1X/20000647d5ce169f9994745f7078cf5ceab42dd8.png)

 ![c746ef42-0b86-4c33-81bf-7193e8a84ea2.png](https://us1.discourse-cdn.com/cdata/original/1X/1c40f4c1fc6fb3f8665311d4991c93f7186de8d8.png)

You can now query information from the tables and views exposed by the connection within LibreOffice:

 ![eafabefb-4f58-41e3-84fb-8c53ff06fc6d.png](https://us1.discourse-cdn.com/cdata/original/2X/9/9f730f07cb63bee2f6edff2a89078acee97abdbe.png)
