Download the MySql 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 MySql.
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 MySql driver uses its own syntax — see the connection details below.
MySQL is the world's most widely deployed open-source relational database, powering everything from WordPress blogs to large-scale e-commerce platforms. It runs on every major OS and is the go-to choice for LAMP and LEMP stack web applications.
Download the MySql JDBC Driver
Last updated August 2025 - verified for MySQL 8.4 / Java 21 compatibility.
The driver library files are compressed in a zip archive. Extract it and load the jar file using DbSchema's Driver Manager.
If you cannot connect, or you get issues with the driver, please ask DbSchema Team for help.
Two separate things keep a remote client out: where the server listens, and where a user is allowed to log in from. Both usually have to be changed.
bind_address is *, every interface. Debian and
Ubuntu packages override it with bind-address = 127.0.0.1 in
/etc/mysql/mysql.conf.d/mysqld.cnf, which accepts loopback connections only.
SHOW VARIABLES LIKE 'bind_address'; reports the value in force. Set it to
*, or to the specific address clients use, and restart the service.
bar@'localhost' and
bar@'202.54.10.20' are two different accounts. On the server, start the console with
mysql -u root -p and grant the client host explicitly:
SELECT user, host FROM mysql.user; lists the accounts that already exist.
An Access denied message means the server was reached and the account or the host was wrong. A timeout instead means the traffic never arrived, so the cause is the bind address or the firewall.
localhost. See the
SSH tunnel guide.
Install MySql from http://www.mysql.com. During installation go for a detailed install,
and when you are prompted for the user password check the 'Enable root access from remote machines'.
Enabling this you will be allowed to connect to MySql from another computer. Remember the password you set here, it will be requested when connecting to the database as user root.
DbSchema's ER diagram tool is especially useful for MySQL's InnoDB schemas, where foreign key relationships between tables define the data model. Use the Schema Synchronization feature to safely roll out ALTER TABLE statements across dev, staging, and production without breaking foreign key constraints.
Connect MySql, build your first ER diagram in minutes. No account required.
Get the MySql 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 MySql, 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 MySql 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 MySql.
Teams working with MySql often use these engines too. Explore dedicated guides and JDBC setup for each.