-
Notifications
You must be signed in to change notification settings - Fork 4.3k
ODBC JDBC Driver
Note: This feature is available in Lite, Enterprise, and Ultimate editions only.
- Install the ODBC driver manager
- Install ODBC drivers
- Configure ODBC data sources
- Create ODBC connections in DBeaver
- Make existing connections use the ODBC driver
- Troubleshooting
ODBC lets you connect to almost any database in DBeaver using ODBC drivers. Use it when DBeaver doesn't have a dedicated driver for your database, or when you prefer an ODBC-based workflow.
DBeaver's native drivers use JDBC and generally perform better and support more database-specific features. Use ODBC only when no JDBC driver exists for your database.
Tip: ODBC is a generic interface. Some database-specific features may not be available through it. If you need full database functionality, use a dedicated driver for your specific database instead.
The following databases have been tested with ODBC in DBeaver:
- Amazon Athena
- Amazon Redshift
- BigQuery
- DB2 for LUW
- DB2 for IBM i
- MariaDB
- MySQL
- Microsoft Access
- Oracle
- PostgreSQL
- SQL Server
- SQLite
- Snowflake
Other ODBC drivers may also work but haven't been officially tested.
Important: DBeaver does not and will not support 32-bit ODBC drivers due to the technical limitations of the 64-bit Java Virtual Machine (JVM).
DBeaver connects to ODBC drivers through an ODBC driver manager - a component installed at the OS level.
The driver manager is pre-installed on Windows. Open it with WIN+R and type odbcad32.
Install unixODBC for your distribution, for example:
Install unixODBC through Homebrew:
brew install unixodbcAlternatively, download unixODBC from the official site and build it from source.
Important:
DBeaver needs to know where unixODBC's library files are. Add this line to dbeaver.ini, then restart DBeaver:
-Djna.library.path=/opt/homebrew/libUse
/usr/local/libinstead on an Intel Mac.
-
Windows: Install the driver using Windows Installer (
.msi) - same as any other software. -
Linux/macOS: Install from a package manager or build manually. Then register the driver with the driver manager by
adding it through the driver manager UI, or by editing
odbcinst.inidirectly.
Additionally, you can configure a data source (DSN) after installing the driver. See the unixODBC documentation for details.
-
Open the driver manager.
-
Go to the User DSN or System DSN tab:
- User DSN - accessible only to the current user.
- System DSN - accessible to all users on this machine.
-
Click Add and choose the appropriate driver.
-
Configure the data source settings and click OK.
Open the New Database Connection dialog and select ODBC. You can connect in two ways:
| Connection type | When to use |
|---|---|
| Data Source | A DSN is already configured in your OS driver manager |
| Manual | Configure the connection only in DBeaver |
Use this if you already configured a DSN in your OS driver manager. A DSN (Data Source Name) is a saved configuration that stores the driver and connection parameters. Switch to Data Source connection type and choose your DSN from the drop-down.

Use this if you want the connection settings to live only in DBeaver, without creating a DSN in the OS. Switch to Manual connection type, choose the driver from the drop-down, and fill in the connection parameters.

Use this if you already have a database connection configured in DBeaver and want it to communicate through an ODBC driver instead. This keeps all database-specific features intact - unlike creating a new ODBC connection from scratch.
Note: Database-specific authentication methods and settings aren't available in this mode.
To switch, open an existing connection and choose ODBC from the driver type drop-down.

- Make sure you installed a 64-bit driver. 32-bit drivers won't work.
- On Linux/macOS, check that the driver is registered in the driver manager.
- On macOS, make sure
dbeaver.inihas-Djna.library.pathpointing to your driver manager'slibdirectory. See Install the ODBC driver manager above.
- Verify the DSN exists in the driver manager under User DSN or System DSN.
- On Linux/macOS, make sure you registered the driver with the same driver manager that DBeaver is using.
Check DBeaver's own log files for the underlying error. See Log files for where to find them.
- Getting started
- DBeaver configuration
-
Security
- Connection settings
- Databases support
- Classic
- Cloud
- Embedded
- File drivers
- Graph
- Database Navigator
- Data Editor
- SQL Editor
- Entity relation diagrams (ERD)
- Cloud services
- AI Assistant
- Data transfer and schema compare
- Task management
- Integrated tools
- Administration
- DBeaver Editions
- Standalone
- Cloud-hosted
- FAQ
- Development