Download the Db2 JDBC driver, copy the JDBC URL into DbSchema, and start designing schemas with ER diagrams — free Community Edition.
A JDBC driver is a Java .jar library that lets applications connect to Db2.
DbSchema uses JDBC to reverse engineer schemas, run SQL, and generate documentation.
Driver files are usually published by the database vendor or an open-source project.
Host, port, database name, and SSL options are passed in a URL starting with jdbc:.
Each Db2 driver uses its own syntax — see the connection details below.
IBM Db2 is a robust enterprise relational database available on Linux, Windows, z/OS (mainframe), and IBM i (AS/400). It is commonly used in financial institutions and enterprise ERP systems that require high availability, advanced SQL features, and deep IBM ecosystem integration.
The driver archive is a zip file. Extract it and load the .jar files using DbSchema's Driver Manager.
DbSchema connects to Db2 on all platforms using the IBM JDBC driver and renders complex schemas with multi-table joins and referential integrity constraints as navigable ER diagrams. Use the SQL Editor's autocomplete to write Db2-specific syntax including recursive CTEs and OLAP functions.
Connect Db2, build your first ER diagram in minutes. No account required.
Get the Db2 driver zip below and install DbSchema for Windows, macOS, or Linux.
In DbSchema, open Driver Manager, add the extracted JAR, and paste your JDBC URL.
Reverse engineer Db2, edit the model visually, and publish schema documentation.
After the JDBC driver connects, you get ER diagrams, SQL editor, schema sync, and HTML documentation in one desktop app. Compare DbSchema editions.
Reverse engineer Db2 into an interactive diagram and edit structures visually.
Run SQL with autocomplete or compose queries without writing every join by hand.
Export HTML docs your team can browse without installing DbSchema.
Connection tips, ports, SSL, and schema design workflows on the database landing page.
Other drivers teams often configure alongside Db2.
Teams working with Db2 often use these engines too. Explore dedicated guides and JDBC setup for each.