ODBC Driver for SQLite works under control of an ODBC driver manager. ODBC driver manager is not distributed along with our driver and must be installed separately.
ODBC Driver for SQLite is compatible with 2 ODBC driver managers:
In case when using other ODBC driver managers, ODBC Driver for SQLite will be installed, but it will require manual modification of configuration files of these managers.
To install the driver, you should download the archive containing installation files, unpack and run installation with root privileges. See the detailed description of these steps below:
Download the archive from Devart website.
By default the archive will be downloaded into the ~/Downloads folder (or the selected one);
- Run the 'Terminal' program;
Navigate to the folder with the downloaded archive cd ~/Downloads (if you downloaded the archive into another folder, you need to specify the path to this folder as the cd command parameter):
tar -xf devartodbcsqlite-linux.tar
Execute the install.sh script with root user privileges and specify the password:
Read the EULA carefully.
Agree to the license agreement:
Select the installation folder for ODBC Driver for SQLite (or accept the suggested path):
Select the used ODBC driver manager (UnixODBC by default):
Specify the path (or remain the default: /etc) to odbc.ini and odbcinst.ini files.
If you have an activation key, you should create a file, for example with the "sqlite.lic" name on your computer and paste the activation key into it. Then specify the path to it in order to activate the product.
To add/update the sqlite.lic file to an already installed driver, you need to create/replace this file in the directory with the installed driver, and save the new activation key to it.
Driver is installed successfully.
After the driver is installed, two DSNs with the names DEVART_SQLITE_X64 and DEVART_SQLITE_X86 are created.
You can use them to test connection with SQLITE server, we will use DEVART_SQLITE_X86 as an example. Now perform the following steps:
Open the odbc.ini file, the location of which was indicated during the installation. Find the DEVART_SQLITE_X86 section and specify the required connection settings:
Database=<your SQLite database name>
Run the UnixODBC Test Command utility and test connection using the following command:
isql -v DEVART_SQLITE_X86