Skip to content

Commit

Permalink
feat(mysql): Deprecated the mysql-socket-factory-connector-j-6 artifa…
Browse files Browse the repository at this point in the history
…ct (#342)
  • Loading branch information
kurtisvg authored Nov 18, 2020
1 parent 2a60a67 commit c11b63a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,8 @@ are unsure, it is recommended to use the latest version of `mysql-connector-java

| JDBC Driver Version | Cloud SQL Socket Factory Version |
| -------------------------- | ---------------------------------------- |
| mysql-connector-java:8.x | mysql-socket-factory-connector-j-8:1.0.16 |
| mysql-connector-java:6.x | mysql-socket-factory-connector-j-6:1.0.16 |
| mysql-connector-java:5.1.x | mysql-socket-factory:1.0.16 |
| mysql-connector-java:8.x | mysql-socket-factory-connector-j-8:1.1.0 |
| mysql-connector-java:5.1.x | mysql-socket-factory:1.1.0 |

[//]: # ({x-version-update-start:cloud-sql-java-connector:released})

Expand Down
9 changes: 9 additions & 0 deletions connector-j-6/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@
<artifactId>mysql-socket-factory-connector-j-6</artifactId>
<packaging>jar</packaging>

<distributionManagement>
<relocation>
<groupId>com.google.cloud.sql</groupId>
<artifactId>mysql-socket-factory-connector-j-8</artifactId>
<version>1.2.0</version>
<message>MySQL Connector/J 6.0.x is no longer under development. Please update to 8.0.x instead.</message>
</relocation>
</distributionManagement>

<name>Cloud SQL MySQL Socket Factory (for Connector/J 6.x)</name>
<description>
Socket factory for the MySQL JDBC driver (version 6.x) that allows a user with the appropriate
Expand Down

0 comments on commit c11b63a

Please sign in to comment.