Skip to content
Snippets Groups Projects
Commit 057735e3 authored by Vincent Massol's avatar Vincent Massol
Browse files

XDOCKER-186: Deprecated 'com.mysql.jdbc.Driver' class warning when using MySQL version 8 connector

* Revert the MySQL upgrade because of issues for 12.10.x and 13.2.x branches
parent 8a2aadfe
No related branches found
No related tags found
No related merge requests found
......@@ -57,8 +57,8 @@ RUN rm -rf /usr/local/tomcat/webapps/* && \
# Copy the JDBC driver in the XWiki webapp
# For MYSQL, download the MySQL driver version from the Maven Central repository since there's no up to
# date Debian repository for it anymore.
ENV MYSQL_JDBC_VERSION="8.0.23"
ENV MYSQL_JDBC_SHA256="ff7d5b402afd39c12787471505a33a304103b238ec1b7a44e8936d3329da7535"
ENV MYSQL_JDBC_VERSION="8.0.22"
ENV MYSQL_JDBC_SHA256="5019defbd12316295e97a6e88f2a9b07f118345a4e982710bba232e499b22f4f"
ENV MYSQL_JDBC_PREFIX="https://repo1.maven.org/maven2/mysql/mysql-connector-java/${MYSQL_JDBC_VERSION}"
ENV MYSQL_JDBC_ARTIFACT="mysql-connector-java-${MYSQL_JDBC_VERSION}.jar"
ENV MYSQL_JDBC_TARGET="/usr/local/tomcat/webapps/ROOT/WEB-INF/lib/${MYSQL_JDBC_ARTIFACT}"
......
......@@ -57,8 +57,8 @@ RUN rm -rf /usr/local/tomcat/webapps/* && \
# Copy the JDBC driver in the XWiki webapp
# For MYSQL, download the MySQL driver version from the Maven Central repository since there's no up to
# date Debian repository for it anymore.
ENV MYSQL_JDBC_VERSION="8.0.23"
ENV MYSQL_JDBC_SHA256="ff7d5b402afd39c12787471505a33a304103b238ec1b7a44e8936d3329da7535"
ENV MYSQL_JDBC_VERSION="8.0.22"
ENV MYSQL_JDBC_SHA256="5019defbd12316295e97a6e88f2a9b07f118345a4e982710bba232e499b22f4f"
ENV MYSQL_JDBC_PREFIX="https://repo1.maven.org/maven2/mysql/mysql-connector-java/${MYSQL_JDBC_VERSION}"
ENV MYSQL_JDBC_ARTIFACT="mysql-connector-java-${MYSQL_JDBC_VERSION}.jar"
ENV MYSQL_JDBC_TARGET="/usr/local/tomcat/webapps/ROOT/WEB-INF/lib/${MYSQL_JDBC_ARTIFACT}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.