Driver Activation After Installation
If you didn't activate the driver during installation, you can activate it later using one of two methods:
- Via a console application (for Perpetual and Subscription licenses).
- With an activation file (only for Perpetual licenses).
Activate via a Console Application
To activate the driver over the internet using a console application, follow these steps (this method works for both Perpetual and Subscription licenses):
-
In the console, go to the folder where the driver was installed. The default installation path is:
- For the DEB package of Devart ODBC Driver for MongoDB: /usr/share/devart/odbcmongodb.
- For the RPM package of Devart ODBC Driver for MongoDB: /usr/local/devart/odbcmongodb.
-
Run the activation command with superuser privilege providing either the driver activation key or the path of the file with the key:
-
To activate using the activation key:
sudo ./mongodbodbcactivator -a "activation_key"
Replace activation_key
with the driver activation key, which you can find in the registration email or your Customer Portal account.
-
To activate using a file:
sudo ./mongodbodbcactivator -a file_path
Replace file_path
with the full path of the file containing the driver activation key.
When the process is complete, the driver is activated and the License Summary is displayed in the console.
Activate With an Activation File
To activate the driver offline (only for Perpetual licenses), follow these steps:
-
Go to the folder where the driver was installed. The default installation path is:
- For the DEB package of Devart ODBC Driver for MongoDB: /usr/share/devart/odbcmongodb.
- For the RPM package of Devart ODBC Driver for MongoDB: /usr/local/devart/odbcmongodb.
-
In that folder, create a file with the activation.key name.
-
Copy the activation key from the registration email or your Customer Portal account and paste it into the created file.
The driver gets activated.
See also: