MVN

mysql : mysql-connector-java

Maven & Gradle

Mar 08, 2022
5.8k usages
593 stars

MySQL Connector/J · JDBC Type 4 driver for MySQL

<dependency>
    <groupId>mysql</groupId>
    <artifactId>mysql-connector-java</artifactId>
    <version>8.0.29</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of mysql : mysql-connector-java to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 8.0.29
  • Latest Release Candidate: 8.0.9-rc

All Versions

Choose a version of mysql : mysql-connector-java to add to Maven or Gradle - All Versions:

  • Version Updated
  • mysql-connector-java-8.0.29

    Mar 08, 2022
  • mysql-connector-java-8.0.28

    Dec 16, 2021
  • mysql-connector-java-8.0.27

    Sep 28, 2021
  • mysql-connector-java-8.0.26

    Jun 08, 2021
  • mysql-connector-java-8.0.25

    Apr 27, 2021
  • mysql-connector-java-8.0.24

    Mar 02, 2021
  • mysql-connector-java-8.0.23

    Dec 01, 2020
  • mysql-connector-java-8.0.22

    Sep 10, 2020
  • mysql-connector-java-8.0.21

    Jun 16, 2020
  • mysql-connector-java-5.1.49

    Apr 20, 2020
  • mysql-connector-java-8.0.20

    Mar 09, 2020
  • mysql-connector-java-8.0.19

    Dec 04, 2019
  • mysql-connector-java-8.0.18

    Sep 08, 2019
  • mysql-connector-java-5.1.48

    Jul 11, 2019
  • mysql-connector-java-8.0.17

    Jun 07, 2019
  • mysql-connector-java-8.0.16

    Mar 20, 2019
  • mysql-connector-java-8.0.15

    Jan 28, 2019
  • mysql-connector-java-8.0.14

    Dec 17, 2018
  • mysql-connector-java-8.0.13

    Sep 27, 2018
  • mysql-connector-java-5.1.47

    Aug 07, 2018
  • mysql-connector-java-8.0.12

    Jun 28, 2018
  • mysql-connector-java-8.0.11

    Apr 18, 2018
  • mysql-connector-java-5.1.46

    Feb 26, 2018
  • mysql-connector-java-8.0.9-rc

    Jan 24, 2018
  • mysql-connector-java-5.1.45

    Nov 22, 2017
  • mysql-connector-java-8.0.8-dmr

    Sep 26, 2017
  • mysql-connector-java-5.1.44

    Aug 29, 2017
  • mysql-connector-java-5.1.43

    Jul 06, 2017
  • mysql-connector-java-8.0.7-dmr

    Jun 15, 2017
  • mysql-connector-java-5.1.42

    Apr 17, 2017
  • mysql-connector-java-6.0.6

    Feb 23, 2017
  • mysql-connector-java-5.1.41

    Feb 14, 2017
  • mysql-connector-java-6.0.5

    Oct 10, 2016
  • mysql-connector-java-5.1.40

    Sep 24, 2016
  • mysql-connector-java-6.0.4

    Aug 12, 2016
  • mysql-connector-java-6.0.3

    Jun 14, 2016
  • mysql-connector-java-5.1.39

    May 04, 2016
  • mysql-connector-java-6.0.2

    Mar 29, 2016
  • mysql-connector-java-5.1.38

    Dec 02, 2015
  • mysql-connector-java-5.1.37

    Oct 06, 2015
  • mysql-connector-java-5.1.36

    Jun 19, 2015
  • mysql-connector-java-5.1.35

    May 08, 2015
  • mysql-connector-java-5.1.34

    May 08, 2015
  • mysql-connector-java-5.1.33

    May 08, 2015
  • mysql-connector-java-5.1.32

    May 08, 2015
  • mysql-connector-java-5.1.31

    May 08, 2015
  • mysql-connector-java-5.1.30

    May 08, 2015
  • mysql-connector-java-5.1.29

    May 08, 2015
  • mysql-connector-java-5.1.28

    May 08, 2015
  • mysql-connector-java-5.1.27

    May 08, 2015
  • mysql-connector-java-5.1.26

    May 08, 2015
  • mysql-connector-java-5.1.25

    May 08, 2015
  • mysql-connector-java-5.1.24

    May 08, 2015
  • mysql-connector-java-5.1.23

    May 08, 2015
  • mysql-connector-java-5.1.22

    May 08, 2015
  • mysql-connector-java-5.1.21

    May 08, 2015
  • mysql-connector-java-5.1.20

    May 08, 2015
  • mysql-connector-java-5.1.19

    May 08, 2015
  • mysql-connector-java-5.1.18

    May 08, 2015
  • mysql-connector-java-5.1.17

    May 08, 2015
  • mysql-connector-java-5.1.16

    May 08, 2015
  • mysql-connector-java-5.1.15

    May 08, 2015
  • mysql-connector-java-5.1.14

    May 08, 2015
  • mysql-connector-java-5.1.13

    May 08, 2015
  • mysql-connector-java-5.1.12

    May 08, 2015
  • mysql-connector-java-5.1.11

    May 08, 2015
  • mysql-connector-java-5.1.10

    May 08, 2015
  • mysql-connector-java-5.1.9

    May 08, 2015
  • mysql-connector-java-5.1.8

    May 08, 2015
  • mysql-connector-java-5.1.6

    May 08, 2015
  • mysql-connector-java-5.1.5

    May 08, 2015
  • mysql-connector-java-5.1.4

    May 08, 2015
  • mysql-connector-java-5.1.3

    May 08, 2015
  • mysql-connector-java-5.1.2

    May 08, 2015
  • mysql-connector-java-5.1.1

    May 08, 2015
  • mysql-connector-java-5.0.4

    Apr 20, 2015
  • mysql-connector-java-5.0.7

    Apr 20, 2015
  • mysql-connector-java-5.0.3

    Apr 20, 2015
  • mysql-connector-java-3.1.11

    Apr 20, 2015
  • mysql-connector-java-5.0.8

    Apr 20, 2015
  • mysql-connector-java-5.0.2

    Apr 20, 2015
  • mysql-connector-java-3.1.12

    Apr 20, 2015
  • mysql-connector-java-3.0.10

    Apr 20, 2015
  • mysql-connector-java-2.0.14

    Apr 20, 2015
  • mysql-connector-java-5.0.5

    Apr 20, 2015
  • mysql-connector-java-3.1.13

    Apr 20, 2015
  • mysql-connector-java-3.0.8

    Apr 20, 2015
  • mysql-connector-java-3.1.14

    Apr 20, 2015

How to add a dependency to Maven

Add the following mysql : mysql-connector-java maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>mysql</groupId>
    <artifactId>mysql-connector-java</artifactId>
    <version>8.0.29</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following mysql : mysql-connector-java gradle dependency to your build.gradle file:

implementation 'mysql:mysql-connector-java:8.0.29'

Gradle Kotlin DSL: Add the following mysql : mysql-connector-java gradle kotlin dependency to your build.gradle.kts file:

implementation("mysql:mysql-connector-java:8.0.29")

How to add a dependency to SBT Scala

SBT Scala: Add the following mysql : mysql-connector-java sbt scala dependency to your build.sbt file:

libraryDependencies += "mysql" % "mysql-connector-java" % "8.0.29"

Advertisement

Dependencies from Group

Mar 08, 2022
5.8k usages
593 stars
Oct 06, 2011
68 usages
Oct 06, 2011
42 usages

Discover Dependencies

Jun 15, 2022
6.6k usages
45k stars
Apr 18, 2022
14k usages
10k stars
May 26, 2012
13k usages
Feb 11, 2022
12k usages
20k stars
Jun 21, 2022
9.3k usages
1.6k stars
poi
Mar 12, 2022
1.9k usages
Jul 01, 2022
3.4k usages
4.8k stars
Mar 20, 2022
3.7k usages
3.9k stars
Jul 10, 2021
20k usages
image

Maven Repository

Search Maven dependencies with Maven Repository Chrome Extension

Add to Chrome