dbeaver | Free universal database tool and SQL client | SQL Database library

 by   dbeaver Java Version: 23.1.0 License: Apache-2.0

kandi X-RAY | dbeaver Summary

kandi X-RAY | dbeaver Summary

dbeaver is a Java library typically used in Database, SQL Database, MariaDB, Oracle applications. dbeaver has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has high support. You can download it from GitHub.

Free multi-platform database tool for developers, SQL programmers, database administrators and analysts. Supports any database which has JDBC driver (which basically means - ANY database). Commercial versions also support non-JDBC datasources such as MongoDB, Cassandra, Couchbase, Redis, BigTable, DynamoDB, etc. You can find the list of all databases supported in commercial versions here.

            kandi-support Support

              dbeaver has a highly active ecosystem.
              It has 32395 star(s) with 2913 fork(s). There are 512 watchers for this library.
              There were 7 major release(s) in the last 12 months.
              There are 1726 open issues and 12983 have been closed. On average issues are closed in 281 days. There are 41 open pull requests and 0 closed requests.
              It has a negative sentiment in the developer community.
              The latest version of dbeaver is 23.1.0

            kandi-Quality Quality

              dbeaver has 0 bugs and 0 code smells.

            kandi-Security Security

              dbeaver has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              dbeaver code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              dbeaver is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              dbeaver releases are available to install and integrate.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.
              It has 477834 lines of code, 38542 functions and 4812 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed dbeaver and discovered the below as its top functions. This is intended to give you an instant insight into dbeaver implemented functionality, and help decide if they suit your requirements.
            • Extract the ids from a pg object .
            • Insert ranges .
            • Creates the mapping tree .
            • Run analyzer .
            • Gets data source by spec .
            • Paint the view .
            • Parse query .
            • Bind attributes to result set .
            • Read data type from database .
            • Creates the tab tabs .
            Get all kandi verified functions for this library.

            dbeaver Key Features

            No Key Features are available at this moment for dbeaver.

            dbeaver Examples and Code Snippets

            No Code Snippets are available at this moment for dbeaver.

            Community Discussions


            How do I connect DBeaver to CockroachDB Serverless?
            Asked 2022-Mar-29 at 18:32

            How do I connect DBeaver with my CockroachDB Serverless database? I get errors that look like this:



            Answered 2021-Oct-28 at 15:54

            Make sure to include the cluster name in the database field.

            The database should be something like: cluster-name-1234.databasename.

            Here is a screenshot of a working configuration:

            Source https://stackoverflow.com/questions/69757289


            Issues with row creation/deletion when editing QSqlTableModel via QTableView
            Asked 2022-Mar-28 at 17:48

            I'm using PySide6 with Python 3.10 to create an app that is using an SQLite DB to record some data points.

            I'm having difficulties with the QtSql module, in particular regarding the QTableView-QSqlTableModel interaction and the ability to create/edit/delete records present in the DB.

            This is a minimum reproducible example of what I'm trying to achieve:



            Answered 2022-Mar-28 at 17:45

            The issue here is with the structure of your database. Although it's valid to create a database with no primary key, this will usually cause problems, because it may force Qt to try to identify rows using a combination all their values when editing an SQL model via a view. In cases where each row does not have a unique combination of values, this is almost certain to produce unpredictable behaviour.

            In your example, every row is initialised with the value 0. If that remains unchanged, deleting any row with that value will delete them all, since (as far as Qt is concerned) they all effectively have the same key.

            To fix your example, you should therefore simply add a primary key, like so:

            Source https://stackoverflow.com/questions/71644373


            Accessing PostgreSQL (on wsl2) from DBeaver (on Windows) fails: "Connection refused: connect"
            Asked 2022-Mar-17 at 04:30

            What I'm trying is to use Postgres and access it from DBeaver.

            • Postgres is installed into wsl2 (Ubuntu 20)
            • DBeaver is installed into Windows 10

            According to this doc, if you access an app running on Linuc from Windows, localhost can be used.


            Connection is refused with localhost. Also, I don't know what this message means: Connection refused: connect.

            Does anyone see potential cause for this? Any advice will be appreciated.


            • The password should be fine. When I use psql in wsl2 and type in the password, psql is available with the password
            • I don't have Postgres on Windows' side. It exists only on wsl2


            Answered 2021-Oct-19 at 08:19

            I found a solution by myself.

            I just had to allow the TCP connection on wsl2(Ubuntu) and then restart postgres.

            Source https://stackoverflow.com/questions/69625823


            How do I connect to Cassandra with Dbeaver Community edition?
            Asked 2022-Mar-04 at 07:14

            Has anyone had any success with connecting to a Cassandra cluster using DBeaver Community Edition? I've tried to follow this post, but haven't had any success. I have to have authentication enabled, and I get an error saying:

            Authentication error on host /x.x.x.x:9042: Host /x.x.x.x:9042 requires authentication, but no authenticator found in Cluster configuration



            Answered 2021-Sep-02 at 10:28

            DataStax offers the JDBC driver from Magnitude (formerly Simba) to users at no cost so you should be able to use it with DBeaver.

            These are the high-level steps for connecting to a Cassandra cluster with DBeaver:

            1. Download the Simba JDBC driver from DataStax
            2. Import the Simba JDBC driver
            3. Create a new connection to your cluster
            Download the driver
            1. Go to https://downloads.datastax.com/#odbc-jdbc-drivers.
            2. Select Simba JDBC Driver for Apache Cassandra.
            3. Select JDBC 4.2.
            4. Accept the license terms (click the checkbox).
            5. Hit the blue Download button.
            6. Once the download completes, unzip the downloaded file.
            Import the driver

            In DBeaver, go to the Driver Manager and import the Simba JDBC driver as follows:

            1. Click the New button
            2. In the Libraries tab, click the Add File button
            3. Locate the directory where you unzipped the download and add the CassandraJDBC42.jar file.
            4. Click the Find Class button which should identify the driver class as com.simba.cassandra.jdbc42.Driver.
            5. In the Settings tab, set the following:
            • Driver Name: Cassandra
            • Driver Type: Generic
            • Class Name: com.simba.cassandra.jdbc42.Driver
            • URL Template: jdbc:cassandra://{host}[:{port}];AuthMech=1 (set authentication mechanism to 0 if your cluster doesn't have authentication enabled)
            • Default Port: 9042
            1. Click the OK button to save the driver.

            At this point, you should see Cassandra as one of the drivers in the list.

            Connect to your cluster

            In DBeaver, create a new database connection as follows:

            1. Select Cassandra from the drivers list.
            2. In the Main tab of the JDBC connection settings, set the following:
            • Host: node_ip_address (this could be any node in your cluster)
            • Port: 9042 (or whatever you've set as rpc_port in cassandra.yaml)
            • Username: your_db_username
            • Password: your_db_password
            1. Click on the Test Connection button to confirm that the driver configuration is working.
            2. Click on the Finish button to save the connection settings.

            At this point, you should be able to browse the keyspaces and tables in your Cassandra cluster. Cheers!

            Source https://stackoverflow.com/questions/69027126


            update column value with a json
            Asked 2022-Feb-21 at 23:33

            If I try this with a numbers col:



            Answered 2022-Feb-21 at 15:31


            How to Read Synapse Analytics SQL Script (JSON Format) as a SQL Script in an IDE?
            Asked 2022-Feb-11 at 14:39

            I have a Synapse Git Project that has SQL Scripts created in the Azure Portal like so Microsoft Docs SQL Scriptand the challenge is that in GIT they appear as this kinda bulky JSON file and I would love to read it as SQL File DBEAVER or IntelliJ …

            Any way to do this without having to manually select the Query Section of the file and kinda clean it?



            Answered 2022-Feb-11 at 14:39

            First Some Background

            Synapse stores all artifacts in JSON format. In the Git repo, they are in the following folder structure:

            Inside each folder are the JSON files that define the artifacts. Folder sqlscript contains the JSON for SQL Scripts in the following format:

            NOTE: the Synapse folder of the script is just a property - this is why all SQL Script names have to be unique across the entire workspace.

            Extracting the script

            The workspace does allow you to Export SQL to a .sql file:

            There are drawbacks: you have to do it manually, 1 file at a time, and you cannot control the output location or SQL file name.

            To pull the SQL back out of the JSON, you have to access the properties.content.query property value and save it as a .sql file. As far as I know, there is no built in feature to automatically save a Script as SQL. Simple Copy/Paste doesn't really work because of the \ns.

            I think you could automate at least part of this with an Azure DevOps Pipeline (or a GitHub Action). You might need to copy the JSON file out to another location, and then have a process (Data Factory, Azure Function, Logic App, etc.) read the file and extract the query.

            Source https://stackoverflow.com/questions/71070882


            DBeaver - Non sequential when executing multiple oracle inserts
            Asked 2022-Jan-18 at 10:36

            I'm using latest DBeaver with Oracle 12

            I need to run several inserts to different tables that are connected by foreign key

            When executing multiple oracle inserts (Alt + X ) to several tables and it failed on foreign key when it shouldn't (if executed sequentially).

            Executing same SQLs in PLSQL developer doesn't produce any error. (reproducible)

            It seems that the inserts aren't execute in sequence

            Can this behavior changed?

            Found DBeaver wiki that warns for unexpected results

            NOTE: Be careful with this feature. If you execute a huge script with a large number of queries, it might cause unexpected problems.



            Answered 2022-Jan-18 at 10:36

            Found in disucssions solution to add inserts to PL/SQL block:

            ShadelessFox It's not possible from a DBeaver perspective, but you can use PL/SQL blocks

            Source https://stackoverflow.com/questions/69172671


            Different behavior between Dbeaver and OSD clients with dates
            Asked 2022-Jan-18 at 09:54

            I use Oracle Database 11g Release

            When doing this query :



            Answered 2022-Jan-18 at 09:37

            Because you are comparing a date to a string, you are causing the string to be implicitly converted to a date, using your session's NLS settings. Those may be derived from your locale, or may be set explicitly by your client, e.g. through preferences.

            If NLS_DATE_FORMAT is is set to 'DD/MM/YYYY' then '25/11/05' is converted to 0005-11-25, so the comparison is false. If it is set to 'DD/MM/YY' (or 'DD/MM/RR', or 'DD/MM/RRRR') then it is converted to 2005-11-25, so the comparison is true.


            You should not rely on implicit conversions, or NLS settings - since you can't control the environment of whoever runs your code.

            Source https://stackoverflow.com/questions/70753122


            How to Connect with Dbeaver on Snowflake (DUO Push)
            Asked 2022-Jan-17 at 06:04

            I am using Duo Mobile for authentication in snowflake . I have entered username and password and warehouse details in Dbeaver. But I keep getting error


            I have tried to see https://community.snowflake.com/s/article/error-duo-push-is-not-enabled-for-your-mfa-provide-a-passcode-as-part-of-the-connection-string

            here it says to add "passcodeInPassword=on".

            Where do I need to add this?



            Answered 2022-Jan-17 at 05:42

            DBeaver might be using the JDBC driver to create a connection to Snowflake. You may need to pass it in the JDBC connection string at client (DBeaver) end. See- https://docs.snowflake.com/en/user-guide/security-mfa.html#using-mfa-with-jdbc

            Source https://stackoverflow.com/questions/70736640


            What's wrong with the following SQL Create table query?
            Asked 2022-Jan-13 at 08:12

            Using Postgresql



            Answered 2022-Jan-13 at 08:12

            You forgot the parentheses.

            The syntax for FOREIGN KEY requires them.

            Source https://stackoverflow.com/questions/70693105

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network


            No vulnerabilities reported

            Install dbeaver

            You can download prebuilt binaries from official website or directly from GitHub releases. You can also download Early Access version. We publish it 1-2 times per week.


            WIKIIssue tracker
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
          • HTTPS


          • CLI

            gh repo clone dbeaver/dbeaver

          • sshUrl


          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link