Skip to main content
The driver for Oracle is community-supported and is not maintained by Cube or the database vendor.

Prerequisites

  • The hostname for the Oracle database server
  • The username/password for the Oracle database server
  • The name of the database to use within the Oracle database server
The driver uses node-oracledb in Thin mode, which supports Oracle Database 12.1 and later. Older servers (e.g. 11g) require Thick mode, which the driver does not currently enable — track this issue.

Setup

Manual

Add the following to a .env file in your Cube project:

Environment Variables

SSL

To enable SSL-encrypted connections between Cube and Oracle, set the CUBEJS_DB_SSL environment variable to true. For more information on how to configure custom certificates, please check out Enable SSL Connections to the Database.