Skip to content
Evergreen Evergreen
Documentation

mysql:mysql-connector-java has moved to com.mysql:mysql-connector-j

Deprecated. The source gives no day. Replacement: com.mysql:mysql-connector-j. Source: mysql:mysql-connector-java 8.0.33 POM on Maven Central.

Check a version:

evergreen check pkg:maven/mysql/mysql-connector-java

The POM of mysql:mysql-connector-java 8.0.33 declares a relocation to com.mysql:mysql-connector-j. Its message says: “MySQL Connector/J artifacts moved to reverse-DNS compliant Maven 2+ coordinates.”

Look up another package or runtime · <form action="../lookup.html" method="get" role="search"> </form>

   
Status Deprecated
Severity medium
Ecosystem java
Component pkg:maven/mysql/mysql-connector-java
Affected versions vers:maven/>=8.0.31
Date from the source The source gives no day
Replacement com.mysql:mysql-connector-j
Evidence last seen 2026-10-17
Reviewed 2026-10-17 by arminazimi, drafted by the java-2 importer
Review due 2027-04-15 (180 days after the last review)
Rule ID java.maven.mysql.mysql-connector-java.relocated

Sources

Migration

Constraints

  • Replace mysql:mysql-connector-java with com.mysql:mysql-connector-j; the relocation in the artifact’s POM names the new coordinates, so keep the version unless you intend to upgrade it.
  • Update every module and dependency-management block that names the old coordinates, and remove exclusions that mention them.

Steps

  1. Change the dependency coordinates. Replace the reported mysql:mysql-connector-java dependency with com.mysql:mysql-connector-j.
  2. Align other declarations. Update every other pom.xml, Gradle build file, version catalog, and BOM override that names the old coordinates.

Verification

  • ./mvnw -B dependency:tree || ./gradlew dependencies: Confirm the old coordinates are gone from the resolved dependency graph.
  • ./mvnw -B verify || ./gradlew build: Build and test the project with the new coordinates.

Detected by

The java detector. See Detectors and Compatibility.

Same ecosystem

Data

This page is generated from registry/java.json, rule java.maven.mysql.mysql-connector-java.relocated, in the ebb.registry.v2 format (how rules are written). A CLE (ECMA-428) export is not published yet. The same facts are embedded in this page as schema.org structured data.

Last updated