-->
Download a JDBC driver for MySQL (for example, the Connector/J driver). If the file that you downloaded is in an archive format (for example,.zip,.tar.gz, and so on), extract its contents. Copy the.jar file from the extracted contents to a location on your hard disk drive. The Microsoft JDBC Driver for SQL Server is a Type 4 JDBC driver that provides database connectivity through the standard JDBC application program interfaces (APIs) available on the Java platform. The driver downloads are available to all users at no extra charge.
The Microsoft JDBC Driver for SQL Server is a Type 4 JDBC driver that provides database connectivity through the standard JDBC application program interfaces (APIs) available on the Java platform. The driver downloads are available to all users at no extra charge. They provide access to SQL Server from any Java application, application server, or Java-enabled applet.
Zero means there is no limit. In the write path, this option depends on how JDBC drivers implement the API setQueryTimeout, e.g., the h2 JDBC driver checks the timeout of each query instead of an entire JDBC batch. It defaults to 0. Fetchsize: The JDBC fetch size, which determines how many rows to fetch per round trip. Due to licensing constraints, MySQL drivers are not bundled with Confluence. Confluence is currently tested with the 8.0.22 driver. Database setup for MySQL: Oracle. JDBC driver downloads. Wireless mini mouse for mac. Due to licensing constraints, Oracle drivers are not bundled with Confluence. For Oracle 12c R2 use the 12.2.0.x driver (ojdbc8.jar).
Download
Version 9.2 is the latest general availability (GA) version. It supports Java 8, 11, and 15. If you need to use an older Java runtime, see the Java and JDBC specification support matrix to see if there's a supported driver version you can use. We're continually improving Java connectivity support. As such we highly recommend that you work with the latest version of Microsoft JDBC driver.
Download Microsoft JDBC Driver 9.2 for SQL Server (zip)
Download Microsoft JDBC Driver 9.2 for SQL Server (tar.gz)
Version information
- Release number: 9.2.1
- Released: March 02, 2021
When you download the driver, there are multiple JAR files. The name of the JAR file indicates the version of Java that it supports.
Note
If you are accessing this page from a non-English language version, and want to see the most up-to-date content, please visit the US-English version of the site. You can download different languages from the US-English version site by selecting available languages.
Mysql Jdbc Driver Maven
Available languages
This release of Microsoft JDBC Driver for SQL Server is available in the following languages:
Microsoft JDBC Driver 9.2.1 for SQL Server (zip):Chinese (Simplified) | Chinese (Traditional) | English (United States) | French | German | Italian | Japanese | Korean | Portuguese (Brazil) | Russian | Spanish
Microsoft JDBC Driver 9.2.1 for SQL Server (tar.gz):Chinese (Simplified) | Chinese (Traditional) | English (United States) | French | German | Italian | Japanese | Korean | Portuguese (Brazil) | Russian | Spanish
Release notes
For details about this release, see the release notes and system requirements.
Previous releases
To download previous releases, see previous Microsoft JDBC Driver for SQL Server releases.
Using the JDBC driver with Maven Central
The JDBC driver can be added to a Maven project by adding it as a dependency in the POM.xml file with the following code:
Mysql Jdbc Driver Class Name
Unsupported drivers
Unsupported driver versions aren't available for download here. We're continually improving the Java connectivity support. As such we highly recommend that you work with the latest version of Microsoft JDBC driver.
Mysql Jdbc Driver Gradle
Next steps
Mysql Jdbc Driver Url
For more information about the Microsoft JDBC Driver for SQL Server, see Overview of the JDBC driver and the JDBC driver GitHub repository.