Download MemSQL JDBC Driver

Download the MemSQL JDBC driver, copy the JDBC URL into DbSchema, and start designing schemas with ER diagrams — free Community Edition.

Connect MemSQL in DbSchema Install the driver, open a connection, reverse engineer your schema, and sync changes visually.

About the MemSQL JDBC driver

A JDBC driver is a Java .jar library that lets applications connect to MemSQL. 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.

JDBC URL format

Host, port, database name, and SSL options are passed in a URL starting with jdbc:. Each MemSQL driver uses its own syntax — see the connection details below.

The MemSQL JDBC driver

MemSQL is now SingleStore — a distributed SQL database combining in-memory rowstore tables for real-time transactions with on-disk columnstore tables for large-scale analytics. Its MySQL-compatible interface makes migration from MySQL straightforward.

The MemSQL JDBC URL

  • Required File(s): mysql-connector-java-nn-bin.jar
  • Java Driver Class: com.mysql.jdbc.Driver
  • JDBC URL: jdbc:mysql://HOST[:PORT][/DB]
  • Website: SingleStore (formerly MemSQL)

Download MemSQL JDBC Driver

The driver archive is a zip file. Extract it and load the .jar files using DbSchema's Driver Manager.

Connecting to a MemSQL Cluster

Connect to an aggregator node, not to a leaf. Port 3306 serves client connections and the cluster's internal traffic alike.

  1. Point the host at an aggregator. The master aggregator accepts DDL as well as queries; a leaf node will not do ordinary client work.
  2. Grant the user access from your host. Accounts are a user and a host together, as in MySQL, so one created for localhost cannot log in from your machine.
  3. Open port 3306 in the server's firewall. The database listens on port 3306 unless it was installed with a different one. A host firewall on the server blocks incoming connections on that port until a rule allows them. The firewall guide has the commands for Windows, ufw, firewalld and iptables.
  4. Connect from DbSchema. In the Connection Dialog choose Remote computer or custom port, fill in the server host and the port, then press Test Connection to check that the server answers before you connect.

Restrict the firewall rule to the addresses that need it — the same port carries traffic between the cluster's own nodes.

DbSchema and MemSQL

DbSchema connects to MemSQL/SingleStore using the MySQL JDBC driver and renders both rowstore and columnstore table layouts in the ER diagram. Use Schema Synchronization to manage schema changes across MemSQL clusters.

Test the driver with DbSchema

Connect MemSQL, build your first ER diagram in minutes. No account required.

1
Download driver & DbSchema

Get the MemSQL driver zip below and install DbSchema for Windows, macOS, or Linux.

2
Register the .jar

In DbSchema, open Driver Manager, add the extracted JAR, and paste your JDBC URL.

3
Design & document

Reverse engineer MemSQL, edit the model visually, and publish schema documentation.

Use MemSQL visually in DbSchema

After the JDBC driver connects, you get ER diagrams, SQL editor, schema sync, and HTML documentation in one desktop app. Compare DbSchema editions.

ER diagrams

Reverse engineer MemSQL into an interactive diagram and edit structures visually.

SQL & query builder

Run SQL with autocomplete or compose queries without writing every join by hand.

Schema documentation

Export HTML docs your team can browse without installing DbSchema.

Full MemSQL guide

Connection tips, ports, SSL, and schema design workflows on the database landing page.

Other drivers teams often configure alongside MemSQL.

Browse all JDBC driver downloads

Teams working with MemSQL often use these engines too. Explore dedicated guides and JDBC setup for each.

Browse all 100+ supported databases