Admin Manage Drivers
You can customize drivers configuration in the workspace/.metadata/.plugins/org.jkiss.dbeaver.core/drivers.xml file. If you have some pre-installed jar files you can reference them in drivers.xml. Example:
<library type="jar" path="absolute-jar-folder-path\driver-jar.jar" custom="true"/>
Also in drivers.xml you can use the following variables to specify relative paths:
Variable | Meaning |
---|---|
drivers_home | Standard DBeaver drivers location - ($workspace/drivers by default) |
dbeaver_home | DBeaver installation folder |
home | User home folder |
workspace | DBeaver workspace path |
For instance:
<library type="jar" path="${workspace}\drivers\my-driver.jar" custom="true"/>
Full drivers.xml example:
<?xml version="1.0" encoding="UTF-8"?>
<drivers>
<provider id="postgresql">
<driver id="postgres-jdbc" custom="false" embedded="false" name="PostgreSQL" class="org.postgresql.Driver" url="jdbc:postgresql://{host}[:{port}]/[{database}]" port="5432" description="PostgreSQL standard driver">
<library type="jar" path="maven:/org.postgresql:postgresql:RELEASE" custom="false" version="42.2.20">
<file id="org.postgresql:postgresql" version="42.2.20" path="${drivers_home}/maven/maven-central/org.postgresql/postgresql-42.2.20.jar"/>
</library>
<library type="jar" path="maven:/net.postgis:postgis-jdbc:RELEASE" custom="false" version="2.5.0">
<file id="net.postgis:postgis-jdbc" version="2.5.0" path="${drivers_home}/maven/maven-central/net.postgis/postgis-jdbc-2.5.0.jar"/>
</library>
<library type="jar" path="maven:/net.postgis:postgis-jdbc-jtsparser:RELEASE" custom="false" version="2.5.0">
<file id="net.postgis:postgis-jdbc-jtsparser" version="2.5.0" path="${drivers_home}/maven/maven-central/net.postgis/postgis-jdbc-jtsparser-2.5.0.jar"/>
</library>
</driver>
</provider>
</drivers>
In some cases you may need to provide a driver's configuration or driver jar
files for a number of DBeaver installations automatically.
This can be done by adding a special parameter in the dbeaver.ini
file:
-Ddbeaver.drivers.configuration-file=c:\some-path\dbeaver-drivers-config.xml
Tip: Detailed instructions on finding
dbeaver.ini
are available in our article.
This file has the same structure as drivers.xml
file (see above) and it will be loaded before drivers.xml
.
You can specify partial driver configuration. For example if you need to configure only the jar path then it may look like this:
<?xml version="1.0" encoding="UTF-8"?>
<drivers>
<provider id="generic">
<driver id="netezza">
<library type="lib" path="X:\jdbc-drivers\netezza-jdbc.jar"/>
</driver>
</provider>
</drivers>
- Installation
- Application Window Overview
- Views
- Database Object Editor
- SQL Editor
- Search
- Schema compare
- Using Liquibase in DBeaver
- Data compare
- MockData generation
- Spelling
- Dashboards, DB monitoring
- Projects
- Managing Master password
- Security in PRO products
- Certificate Management
- Bookmarks
- Shortcuts
- Accessibility
- Sample Database
-
Database Connections
- Edit Connection
- Invalidate/Reconnect to Database
- Disconnect from Database
- Change current user password
- Advanced settings
- Cloud configuration settings
- Local Client Configuration
- Connection Types
- Configure Connection Initialization Settings
- Tableau integration
- Transactions
- Drivers
- Tasks
- Cloud Explorer
- Cloud Storage
- Classic
- Cloud
- Changing interface language
- DBeaver extensions - Office, Debugger, SVG
- Installing extensions - Themes, version control, etc
- User Interface Themes
- Command Line
- Reset UI settings
- Reset workspace
- Troubleshooting system issues
- Posting issues
- Log files
- JDBC trace
- Thread dump
- Managing connections
- Managing variables
- Managing drivers
- Managing preferences
- Managing restrictions
- Windows Silent Install
- Snap installation