Download MongoDb JDBC Driver

What are JDBC Drivers?

JDBC drivers are Java library files with the extension '.jar', used by Java applications to connect to the database. Usually they are provided by the same company which developed the database software.

What is the JDBC URL?

The JDBC Driver requires the JDBC URL to know where the database is located ( on which machine and port), the database name or other settings. All this are passed as a string, specific for each database and driver.

Download the MongoDb JDBC Driver

We open source our JDBC driver for MongoDb. DbSchema features for MongoDb are described here. The driver source code is accessible on GitHub.

The driver binaries can be downloaded as zip file, which you should uncompress.

Download JDBC Driver

Download the zip, unpack and include the jar files in your classpath. The driver is compatible with Java 11. for any issues with the driver, you can write to us.

For accessing the driver source code please visit the GitHub repository:

Driver Source Code

The driver is written on top of the native MongoDb Java driver.

The driver URL is the same as in the MongoDb documentation.
Example :

mongodb://[username:password@]host1[:port1][,host2[:port2],...[,hostN[:portN]]][/[database][?options]]

The URL allows connecting to multiple databases. In DbSchema you can set this by choosing 'Custom URL' in the connection editor and entering the URL as string. For URL details check the MongoDb documentation.

MongoDb Atlas

Create an account by MongoDb Atlas and login. There you have an option to connect which will provide the URI. In the DbSchema Connection Dialog use manual URL configuration. On the same connection page you have also a link to change a user password in the database.

Mongo-Atlas
DbSchema Database Designer

Design MongoDb Databases using DbSchema

Downloaded the JDBC driver? Now visually design, explore, and manage your MongoDb database with ease using DbSchema's Free Community Edition or PRO Edition. No coding required!

Connection-dialog

  1. 1 Connection-dialog

    Design MongoDb using interactive diagrams. The diagrams will be saved to the design model file and can be later reopen.

  1. 2 Visual Query Builder Build SQL Queries visually without having to write any line of code. Add and edit tables with a simple click.
  2. 3 Relational Data Editor The Relational Data Editor can visually explore data from multiple tables. You can cascade into further tables via foreign keys or virtual foreign keys. There is no limit to how many tables can be opened at once.
  3. 4 Schema Synchronization DbSchema model contains its own image of the schema, independent from the database. Connecting to another database won't change the model schema unless you choose to refresh it from the database.
  4. 5 Automation Scripts DbSchema can execute Groovy or Java Scripts with direct access to the DbSchema API. This will help to solve different tasks without visual interaction.
  5. 6 SQL Editor Discover the SQL Editor from the menu to edit and execute queries. For a detailed list of features, please read this Documentation

For complete information on features and licensing, visit our PRO Edition page.