DBeaver Overview DBeaver is a free, open source multiplatform database management tool and SQL client for developers and database administrators. DBeaver can be used to access any database or cloud application that has an ODBC or JDBC driver, such as Oracle, SQL. Use a tool like pgAdmin (postgres), DBeaver (mysql, mariadb), SQL Management Studio (mssql) or DB Browser for SQLite. Connect to your DB, browse to the users table and locate your user. Edit the password column and insert a new bcrypt -formatted value. The Microsoft JDBC Driver 6.2 for SQL Server provides mssql-jdbc-6.2.2.jre7.jar, and mssql-jdbc-6.2.2.jre8.jar class library files. The Microsoft JDBC Drivers 6.0 and 4.2 for SQL Server provide sqljdbc41.jar, and sqljdbc42.jar class library files. The Microsoft JDBC Driver 4.1 for SQL Server provides the sqljdbc41.jar class library file. DBeaver and Microsoft SQL Server Management Studio can be primarily classified as 'Database' tools. DBeaver is an open source tool with 9.88K GitHub stars and 835 GitHub forks. Here's a link to DBeaver's open source repository on GitHub.
DBeaver Overview
DBeaver is a free, open source multiplatform database management tool and SQL client for developers and database administrators. DBeaver can be used to access any database or cloud application that has an ODBC or JDBC driver, such as Oracle, SQL Server, MySQl, Salesforce, or MailChimp. Devart DBeaver provides you with the most important features you'd need when working with a database in a GUI tool, such as:
SQL queries execution
Metadata browsing and editing
SQL scripts management
Data export/import
Data backup
DDL generation
ER diagrams rendering
Test data generation
BLOB/CLOB support
Database objects browsing
Scrollable resultsets
The tool comes in two editions — Community and Enterprise. Enterprise Edition supports NoSQL databases, such as MongoDB or Cassandra, persistent query manager database, SSH tunneling, vector graphics (SVG) and a few other enterprise-level features. Note though that you can access a MongoDB database from DBeaver Community Edition using the respective Devart ODBC driver. For the purposes of this guide, we'll use the Community Edition of DBeaver to retrieve data from SQL Server via the Open Database Connectivity driver.
Creating an ODBC Data Source to Use SQL Server Data in DBeaver
Click the Start menu and select Control Panel.
Select Administrative Tools, then click ODBC Data Sources.
Click on the System DSN tab if you want to set up a DSN name for all users of the system or select User DSN to configure DSN only for your account.
Click the Add button and double-click Devart ODBC Driver for SQL Server in the list.
Give a name to your data source and set up the connection parameters.
Click the Test Connection button to verify that you have properly configured the DSN.
When using ODBC driver for SQL Server with DBeaver, SQL_WVARCHAR data types may be displayed incorrectly in DBeaver. To prevent this, you need to set the string data types to Ansi either in the Advanced Settings tab of the driver configuration dialog or directly in the connection string (String Types=Ansi) — all string types will be returned as SQL_CHAR, SQL_VARCHAR and SQL_LONGVARCHAR.
Connecting to SQL Server Data from DBeaver via ODBC Driver for SQL Server
Follow the steps below to establish a connection to SQL Server in DBeaver.
In the Database menu, select New Database Connection.
In the Connect to database wizard, select ODBC and click Next.
Enter the previously configured DSN in the Database/Schema field.
Click Test Connection. If everything goes well, you'll see the Success message.
Viewing SQL Server Database Objects and Querying Data
You can expand out the database structure in DBeaver's Database Navigator to visualize all the tables in SQL Server database. To view and edit the data in a table, you need to right-click on the target table name and select View data.The content of the table will be displayed in the main workspace.
If you want to write a custom SQL query that will include only the necessary columns from the table, you can select New SQL Editor in the SQL Editor main menu. Create your query and run it by clicking Execute SQL Statement to view the results in the same window.
Step-by-step tutorial on connecting to SQL Server with DBeaver.
Once you've installed DBeaver, you'll probably want to connect to a database. below are instructions for connecting to SQL Server using DBeaver on a Mac.
Note that, although this tutorial uses SQL Server, DBeaver supports many different database management systems.
Launch DBeaver
Click on the DBeaver icon (either in your Launchpad or the Applications folder) to launch the DBeaver application.
Launch the New Connection Wizard
If this is the first time you've launched DBeaver, you'll probably be prompted with the Create new connection dialog.
Expand the SQL Server node, select jTDS driver, and click Next >.
For this tutorial I selected jTDS driver, but by all means select another driver if you prefer.
If the Create new connection wizard doesn't automatically appear when you open DBeaver, go to Database > New Connection to initiate this wizard.
Enter Connection Settings
Enter the connection settings for the SQL Server instance that you'd like to connect to.
If the SQL Server instance is running on your local machine, use localhost.
Also click Test Connection to see if there are going to be any problems with the connection or not.
Download Driver Files (if required)
The connection wizard will tell you if you need to download any driver files. If you do, select the file/s and click Download.
Success Dialog Box
Once the driver has downloaded, a Success dialog is displayed. Click OK.
This dialog box would have appeared at the previous step if you didn't need to download a driver.
Continue with the Connection
Now that the driver has been downloaded, click Next > to continue with the connection.
Network Settings
This step gives you the option of entering any network settings that are required to access the SQL Server.
In this case, the SQL Server is running locally, so leave the default settings and click Next >.
Finish
Change any settings as required. For this tutorial, I left them all at the default settings.
Click Finish to create the connection.
That's it. We just made a new connection to SQL Server with DBeaver.