diff --git a/README.md b/README.md index 5a01f9788..9ca93acb2 100644 --- a/README.md +++ b/README.md @@ -29,18 +29,18 @@ The AWS JDBC Driver for MySQL can be installed from pre-compiled packages that c **Example - Direct download with wget** ```bash -wget https://github.com/awslabs/aws-mysql-jdbc/releases/download/1.1.5/aws-mysql-jdbc-1.1.5.jar -cp aws-mysql-jdbc-1.1.5.jar /home/userx/libs/ -export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-mysql-jdbc-1.1.5.jar +wget https://github.com/awslabs/aws-mysql-jdbc/releases/download/1.1.6/aws-mysql-jdbc-1.1.6.jar +cp aws-mysql-jdbc-1.1.6.jar /home/userx/libs/ +export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-mysql-jdbc-1.1.6.jar ``` **Upgrading to a newer version with wget** -To upgrade the driver, replace the .jar file of your earlier driver with the new `.jar` file. After replacing the `.jar` file, update the CLASSPATH to include the name of the new file. For example, to upgrade to version 1.1.5: +To upgrade the driver, replace the .jar file of your earlier driver with the new `.jar` file. After replacing the `.jar` file, update the CLASSPATH to include the name of the new file. For example, to upgrade to version 1.1.6: ```bash -wget https://github.com/awslabs/aws-mysql-jdbc/releases/download/1.1.5/aws-mysql-jdbc-1.1.5.jar -cp aws-mysql-jdbc-1.1.5.jar /home/userx/libs/ -export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-mysql-jdbc-1.1.5.jar +wget https://github.com/awslabs/aws-mysql-jdbc/releases/download/1.1.6/aws-mysql-jdbc-1.1.6.jar +cp aws-mysql-jdbc-1.1.6.jar /home/userx/libs/ +export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-mysql-jdbc-1.1.6.jar ``` #### As a Maven dependency @@ -52,20 +52,20 @@ You can use [Maven's dependency management](https://central.sonatype.com/search? software.aws.rds aws-mysql-jdbc - 1.1.5 + 1.1.6 ``` **Upgrading to a newer version with Maven** -To upgrade to a newer version of the driver, replace the version number identified in the `pom.xml` file with the newer driver version. For example, to upgrade to version 1.1.5, modify the file to include: +To upgrade to a newer version of the driver, replace the version number identified in the `pom.xml` file with the newer driver version. For example, to upgrade to version 1.1.6, modify the file to include: ```xml software.aws.rds aws-mysql-jdbc - 1.1.5 + 1.1.6 ``` @@ -76,16 +76,16 @@ You can use [Gradle's dependency management](https://central.sonatype.com/search **Example - Gradle** ```gradle dependencies { - implementation group: 'software.aws.rds', name: 'aws-mysql-jdbc', version: '1.1.5' + implementation group: 'software.aws.rds', name: 'aws-mysql-jdbc', version: '1.1.6' } ``` **Upgrading to a newer version with Gradle** -To upgrade to a newer version of the driver, replace the version number identified in the application's ```build.gradle``` file with the newer driver version. For example, to upgrade to version 1.1.5: +To upgrade to a newer version of the driver, replace the version number identified in the application's ```build.gradle``` file with the newer driver version. For example, to upgrade to version 1.1.6: ```gradle dependencies { - implementation group: 'software.aws.rds', name: 'aws-mysql-jdbc', version: '1.1.5' + implementation group: 'software.aws.rds', name: 'aws-mysql-jdbc', version: '1.1.6' } ``` @@ -95,9 +95,9 @@ To use the driver with an IDE (for example, IntelliJ), download the `.jar` file **Example - IntelliJ** ```bash -wget https://github.com/awslabs/aws-mysql-jdbc/releases/download/1.1.5/aws-mysql-jdbc-1.1.5.jar -cp aws-mysql-jdbc-1.1.5.jar /home/userx/libs/ -export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-mysql-jdbc-1.1.5.jar +wget https://github.com/awslabs/aws-mysql-jdbc/releases/download/1.1.6/aws-mysql-jdbc-1.1.6.jar +cp aws-mysql-jdbc-1.1.6.jar /home/userx/libs/ +export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-mysql-jdbc-1.1.6.jar ``` After downloading the `.jar` file and updating the CLASSPATH, add the driver information to your `Project`: @@ -117,9 +117,9 @@ After downloading the `.jar` file and updating the CLASSPATH, add the driver inf To upgrade to a newer version of the driver, download the updated driver, and add it to your CLASSPATH: ```bash -wget https://github.com/awslabs/aws-mysql-jdbc/releases/download/1.1.5/aws-mysql-jdbc-1.1.5.jar -cp aws-mysql-jdbc-1.1.5.jar /home/userx/libs/ -export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-mysql-jdbc-1.1.5.jar +wget https://github.com/awslabs/aws-mysql-jdbc/releases/download/1.1.6/aws-mysql-jdbc-1.1.6.jar +cp aws-mysql-jdbc-1.1.6.jar /home/userx/libs/ +export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-mysql-jdbc-1.1.6.jar ``` Then, follow the steps listed above to update your project to the latest version. @@ -131,9 +131,9 @@ To use the driver with the DBeaver database client, download the `.jar` file, co **Example - DBeaver** ```bash -wget https://github.com/awslabs/aws-mysql-jdbc/releases/download/1.1.5/aws-mysql-jdbc-1.1.5.jar -cp aws-mysql-jdbc-1.1.5.jar /home/userx/libs/ -export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-mysql-jdbc-1.1.5.jar +wget https://github.com/awslabs/aws-mysql-jdbc/releases/download/1.1.6/aws-mysql-jdbc-1.1.6.jar +cp aws-mysql-jdbc-1.1.6.jar /home/userx/libs/ +export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-mysql-jdbc-1.1.6.jar ``` After downloading the .jar file and adding it to your CLASSPATH, add the driver information to the DBeaver client: @@ -176,9 +176,9 @@ After adding driver information, you can create new connections that use the AWS To upgrade to a newer version of the driver, download the updated driver, and add it to your CLASSPATH: ```bash -wget https://github.com/awslabs/aws-mysql-jdbc/releases/download/1.1.5/aws-mysql-jdbc-1.1.5.jar -cp aws-mysql-jdbc-1.1.5.jar /home/userx/libs/ -export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-mysql-jdbc-1.1.5.jar +wget https://github.com/awslabs/aws-mysql-jdbc/releases/download/1.1.6/aws-mysql-jdbc-1.1.6.jar +cp aws-mysql-jdbc-1.1.6.jar /home/userx/libs/ +export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-mysql-jdbc-1.1.6.jar ``` Then, follow the steps listed above to update your DBeaver client settings. @@ -191,7 +191,7 @@ If there is an unreleased feature you would like to try, it may be available in software.aws.rds aws-mysql-jdbc - 1.1.5 + 1.1.6 system path-to-snapshot-jar diff --git a/gradle.properties b/gradle.properties index cc38cdd72..fc6cb8702 100644 --- a/gradle.properties +++ b/gradle.properties @@ -40,7 +40,7 @@ spotbugs.version=4.0.0 # Build properties com.mysql.cj.build.driver.version.major=1 com.mysql.cj.build.driver.version.minor=1 -com.mysql.cj.build.driver.version.subminor=5 +com.mysql.cj.build.driver.version.subminor=6 com.mysql.cj.build.driver.displayName=Amazon Web Services (AWS) JDBC Driver for MySQL com.mysql.cj.build.driver.name=aws-mysql-connector-java com.mysql.cj.build.licenseType=GPLv2