How to Install and Use DBeaver on Windows 11 (Step-by-Step Guide)


dbeaver windows
Image credit: DBeaver Corp

DBeaver is a free database management tool that lets you connect to MySQL, PostgreSQL, SQLite, SQL Server, and other databases on Windows 11. You can use it to run SQL queries, browse tables, and manage database records.

Here’s how to install DBeaver on Windows 11 and configure your first database connection.

How do I use DBeaver on Windows 11?

1. Download and install DBeaver on Windows 11

DBeaver Community Edition is free and supports Windows 11.

Follow these steps to install it:

  1. Visit the official DBeaver Community download page.
  2. Find the Windows download section.
  3. Select the EXE installer that matches your computer’s architecture.
  4. Open the downloaded installer.
  5. Follow the installation wizard and choose your preferred installation settings.
  6. Click Install and complete the setup.
  7. Launch DBeaver from the Start menu.

DBeaver includes the required Java components, so you don’t need to install Java separately.

2. Connect DBeaver to a database

After installing DBeaver, you need to configure a connection to your database server.

Here’s how:

  1. Open DBeaver.
  2. Click New Database Connection in the toolbar or press Ctrl + Shift + N.
  3. Select your database type, such as MySQL, PostgreSQL, or SQL Server.
  4. Click Next.
  5. Enter the database server’s Host, Port, and Database name.
  6. Enter your database Username and Password.
  7. Download the required database driver if DBeaver prompts you.
  8. Click Test Connection to verify the settings.
  9. Click Finish to save the connection.

Your database should now appear in the Connections panel.

Remember that DBeaver is a database client. You still need an existing database server or a local database file to establish a connection.

3. Run SQL queries in DBeaver

Once you connect to a database, you can execute SQL commands directly in DBeaver.

Follow these instructions:

  1. Open DBeaver and select your database connection.
  2. Right-click the connection and select SQL Editor > New SQL Script, or use SQL Editor > New SQL Editor from the menu.
  3. Enter your SQL query, such as SELECT * FROM customers;.
  4. Press Ctrl + Enter to execute the current query.
  5. Review the results in the panel below the SQL editor.

To execute an entire SQL script containing multiple statements, press Alt + X.

4. View and edit database tables

DBeaver also lets you browse database records without writing SQL queries.

Here’s how to access your tables:

  1. Expand your database connection in the Connections panel.
  2. Open the relevant database and schema.
  3. Expand the Tables folder.
  4. Double-click the table you want to inspect.
  5. Open the Data tab to view its records.
  6. Double-click an editable cell to modify its value.
  7. Click Save to apply your changes.

You need the appropriate database permissions to edit records. Some connections may also require you to commit the transaction.

5. Fix DBeaver connection problems on Windows 11

If DBeaver cannot connect to your database, check the connection settings and network configuration.

Try these solutions:

  1. Check the server address: Verify that the hostname or IP address matches your database server.
  2. Verify the port: Use the correct port, such as 3306 for MySQL, 5432 for PostgreSQL, or 1433 for a default SQL Server instance.
  3. Check your credentials: Confirm that your username and password are correct.
  4. Check the database service: Make sure the database server is running.
  5. Review firewall settings: Confirm that Windows Defender Firewall or another network firewall allows the necessary connection.
  6. Update the database driver: Open the connection settings and check whether a newer compatible driver is available.
  7. Test the connection again: Return to the connection settings and select Test Connection.

If the problem continues, review the exact error message. Errors such as Connection refused, Connection timed out, and Access denied usually point to different problems.

DBeaver makes it easy to manage databases on Windows 11. Install the Community Edition, configure your database connection, and use the SQL editor to query and manage your data.

If you encounter connection failures, check out our guide on how to fix errors establishing a database connection. You can also learn how to secure your SQL Server database or troubleshoot a corrupt Active Directory database if you manage enterprise database environments.

Frequently asked questions

Is DBeaver free on Windows 11?

Yes. DBeaver Community Edition is free and open source. It provides SQL editing, database connections, table browsing, and basic data management features.

Does DBeaver work on Windows 11?

Yes. DBeaver supports Windows 11 and lets you connect to various database systems, including MySQL, PostgreSQL, SQLite, and SQL Server.

Do I need Java to run DBeaver on Windows 11?

DBeaver requires Java, but the official Windows installer includes the necessary Java runtime. You don’t need a separate installation.

Can I use DBeaver without installing MySQL?

Yes. You can connect to a remote MySQL server or use another supported database. DBeaver does not require a local MySQL installation.

More about the topics: Windows 11

Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more

User forum

0 messages