@@ -33,9 +33,9 @@ gcloud auth application-default login
3333
3434| JDBC Driver Version | Cloud SQL Socket Factory Version |
3535| -------------------------- | ---------------------------------------- |
36- | mysql-connector-java:8.x | mysql-socket-factory-connector-j-8:1.0.10 |
37- | mysql-connector-java:6.x | mysql-socket-factory-connector-j-6:1.0.10 |
38- | mysql-connector-java:5.1.x | mysql-socket-factory:1.0.10 |
36+ | mysql-connector-java:8.x | mysql-socket-factory-connector-j-8:1.0.11 |
37+ | mysql-connector-java:6.x | mysql-socket-factory-connector-j-6:1.0.11 |
38+ | mysql-connector-java:5.1.x | mysql-socket-factory:1.0.11 |
3939
4040
4141##### Maven
@@ -44,14 +44,14 @@ Include the following in the project's `pom.xml`:
4444<dependency>
4545 <groupId>com.google.cloud.sql</groupId>
4646 <artifactId>mysql-socket-factory-connector-j-8</artifactId>
47- <version>1.0.10 </version>
47+ <version>1.0.11 </version>
4848</dependency>
4949```
5050
5151#### Gradle
5252Include the following the project's ` gradle.build `
5353``` gradle
54- compile 'com.google.cloud.sql:mysql-socket-factory-connector-j-8:1.0.10 '
54+ compile 'com.google.cloud.sql:mysql-socket-factory-connector-j-8:1.0.11 '
5555```
5656
5757#### PostgreSQL
@@ -62,14 +62,14 @@ Include the following in the project's `pom.xml`:
6262<dependency>
6363 <groupId>com.google.cloud.sql</groupId>
6464 <artifactId>postgres-socket-factory</artifactId>
65- <version>1.0.10 </version>
65+ <version>1.0.11 </version>
6666</dependency>
6767```
6868
6969#### Gradle
7070Include the following the project's ` gradle.build `
7171``` gradle
72- compile 'com.google.cloud.sql:postgres-socket-factory:1.0.10 '
72+ compile 'com.google.cloud.sql:postgres-socket-factory:1.0.11 '
7373```
7474
7575
@@ -114,6 +114,13 @@ jdbc:postgresql://google/<DATABASE_NAME>?cloudSqlInstance=<INSTANCE_CONNECTION_N
114114
115115## Additional Information
116116
117+ ### Specifying IP Type
118+
119+ The ` ipTypes ` argument can be used to specify a comma delimited list of preferred IP types for
120+ connecting to a Cloud SQL instance. The arguement ` ipTypes=PRIVATE ` will force the
121+ SocketFactory to connect with an instance's associated private IP. Default value is
122+ ` PUBLIC,PRIVATE ` .
123+
117124### Connect with IntelliJ
118125
119126In order to [ connect IntelliJ] ( https://jetbrains.com/help/idea/connecting-to-a-database.html#mysql )
0 commit comments