Databases 7 min read

Master DBeaver: Install, Connect, and Generate ER Diagrams for Any Database

This guide walks you through downloading and installing DBeaver, setting up connections to various databases—including PostgreSQL, Oracle, and NoSQL platforms—using JDBC drivers, and creating ER diagrams, providing step‑by‑step instructions and screenshots to help you manage and visualize your data efficiently.

Programmer DD
Programmer DD
Programmer DD
Master DBeaver: Install, Connect, and Generate ER Diagrams for Any Database

When creating the "SQL Introduction Tutorial", I discovered DBeaver, a powerful and easy‑to‑use database management and development tool.

DBeaver is a free, open‑source, Java‑based universal database manager released under the ASL license; it can be downloaded from the official website or GitHub.

Built on Java, DBeaver runs on Windows, Linux, macOS, and uses the Eclipse framework with plugin support, offering features such as ER diagrams, data import/export, database comparison, and mock data generation.

It connects to databases via JDBC and supports almost all relational databases (MySQL, PostgreSQL, MariaDB, SQLite, Oracle, Db2, SQL Server, Sybase, MS Access, Teradata, Firebird, Derby) and, in the commercial edition, NoSQL and big‑data platforms like MongoDB, InfluxDB, Cassandra, Redis, Hive.

Download and Installation

The DBeaver Community Edition can be downloaded from the official site or GitHub, with installers or zip packages for each OS; a JRE may be required. After installation, launching dbeaver.exe shows the main window.

The initial screen prompts to create a sample database; choosing “Yes” creates a default SQLite sample and opens the main interface, which includes a menu bar, a left‑hand navigation pane for connections and projects, and a central work area.

Connecting to a Database

Open DBeaver and select Database → New Connection to launch the connection wizard. For example, to add a PostgreSQL connection, choose the PostgreSQL icon and click Next .

Enter host, port, database name, user, and password. Advanced settings allow configuring SSH, SSL, proxies, and naming the connection.

Click Test Connection to verify; DBeaver will download the required JDBC driver automatically. After a successful test, the connection appears in the left navigation pane.

For databases whose drivers require manual download (e.g., Oracle, Db2), open Database → Driver Manager , edit the driver, add the downloaded JAR file (e.g., ojdbc8.jar), and save.

Once connections are set up, you can browse objects, edit data, and run SQL statements.

Generating ER Diagrams

To create an ER diagram, open the Database Navigator view, switch to the Projects tab, locate ER Diagrams , right‑click and choose Create New ER Diagram .

Provide a name, select the connection and objects to include, and click Finish . The diagram can be arranged, formatted, and exported as an image; DBeaver generates diagrams only from existing database schemas.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

SQLJDBCInstallationDatabase ManagementDBeaverER Diagram
Programmer DD
Written by

Programmer DD

A tinkering programmer and author of "Spring Cloud Microservices in Action"

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.