Activate the driver on macOS

If you didn’t activate the driver during installation, you can activate it later using one of two methods:

  • Online via Terminal (for both Perpetual and Subscription licenses).
  • Offline using an activation file (for Perpetual licenses only).

Note

You need to activate the driver even for the trial version.

Activate the driver online

To activate the driver over the internet using Terminal (works for both Perpetual and Subscription licenses):

1. Open Terminal and navigate to the folder where the driver is installed. The default installation path is: /Library/ODBC/Devart/Oracle.

cd /Library/ODBC/Devart/Oracle

2. Optional: To open the Customer Portal in your browser and locate your activation key, run the following command:

./oracleodbcactivator -g

Tip

You can also find your activation key in the registration email.

3. Run the activation command with superuser privileges, using either the activation key or the path to the file containing the key:

To activate the driver using the activation key:

sudo ./oracleodbcactivator -a <your_activation_key>

Note

Replace <your_activation_key> with the driver activation key.

To activate the driver using a file with the key:

sudo ./oracleodbcactivator -a <path_to_your_activation_file>

Note

Replace <path_to_your_activation_file> with the full path of the file containing the activation key.

Once completed, the driver is activated, and the License Summary is displayed in the console.

Activate the driver on macOS

Activate the driver offline

If you need to perform an offline activation or prefer not to activate the driver over the internet, you can use a file containing the activation key. This method works only for Perpetual licenses and is useful in secure environments where network connectivity is restricted, or when automating large-scale deployments without relying on online activation servers.

For offline activation (only for Perpetual licenses), follow these steps:

1. Create a new file named activation.key in the driver installation folder. The default installation path for ODBC Driver for Oracle is /Library/ODBC/Devart/Oracle.

2. Copy the activation key from the registration email or your Customer Portal account and paste it into the created file.

3. Save the file.

Once saved, the driver is activated.

Deactivate the driver

To deactivate Devart ODBC Driver for Oracle on macOS:

1. Open Terminal and navigate to the folder where the driver is installed. The default installation path is: /Library/ODBC/Devart/Oracle.

cd /Library/ODBC/Devart/Oracle

2. Run the following command with superuser privileges to deactivate the driver:

sudo ./oracleodbcactivator -d

Deactivate the driver on macOS

Note

If you activated the driver using an activation key file, you can deactivate it by deleting the file.