Skill - Installing and using DBeaver for accessing and controlling different databases in one tool
In this post we will try to install and use a free universal database tool called DBeaver
Why use DBeaver?
- You can manage all popular databases (MySQL, PostgreSQL, SQLite, Oracle, DB2, SQL Server, MS Access, Teradata, Firebird, Apache Hive, Phoenix, Presto, etc) in one single tool. No need to download separate tool for each type of database
- The community edition of DBeaver is free
- This is tool is cross-platform, so it can be installed in Windows, Linux, Mac
Install DBeaver
Windows
- Download DBeaver at https://dbeaver.io/download/
- Run the installer and complete the installation
Ubuntu
sudo add-apt-repository ppa:serge-rider/dbeaver-ce
sudo apt-get update
sudo apt-get install dbeaver-ce
Other Linux Distributions
The DBeaver download page at https://dbeaver.io/download/ has the commands and instructions required to install DBeaver in other environments also like Debian, Mac OS etc
Using DBeaver
- Each type of database connection requires its own plugin
- If plugin is not present in the computer, DBeaver will prompt to install the plugins via downloading from the internet
Installing DBeaver plugins without internet
Step 1 - Download the database plugin jar files in a computer with internet
- All the installed database plugins can be found in the folder
C:\Users\<username>\AppData\Roaming\DBeaverData\drivers\maven\maven-central
- On the Top Menu bar go to Database -> Driver Manager menu
- Then select the database you would like to connect and click edit
- In the pop up window, click Download/Update button. Now all the driver jar files will be downloaded in the computer from the internet
- After the drivers are downloaded, the folder location of jar file will be displayed on hovering the mouse over the library
- Go to the database plugins folder and copy all the jar files corresponding to the required database driver and paste in the computer without internet
Step 2 - Installing the jar files in the computer without internet
- Open Database -> Driver Manager Menu
- Click “New” button and fill the input fields for the required database driver
- Click the “Add File” button to import all the jar files required for this database driver
- Now we have completed the offline installation of a database driver!
The screenshots of the settings of common database drivers can be seen in the images below. You can take a snapshot of the driver settings from the computer that has the required database driver already installed and working.
Video
The video for this post can be found here
References
- DBeaver download - https://dbeaver.io/download/
- DBeaver site - https://dbeaver.io
- Installing a new JDBC database driver in DBeaver - https://dbeaver.com/docs/wiki/Database-drivers/
Comments
Post a Comment