Skip to content

Commit 886eba6

Browse files
committed
Update compute engine examples.
1 parent 79d1d4a commit 886eba6

File tree

1 file changed

+2
-2
lines changed
  • examples/compute-engine/src/main/java/com/google/cloud/sql/mysql/example

1 file changed

+2
-2
lines changed

examples/compute-engine/src/main/java/com/google/cloud/sql/mysql/example/ListTables.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ public static void main(String[] args) throws IOException, SQLException {
4040

4141
//[START doc-example]
4242
String jdbcUrl = String.format(
43-
"jdbc:mysql://google/%s?cloudSqlInstance=%s&"
44-
+ "socketFactory=com.google.cloud.sql.mysql.SocketFactory",
43+
"jdbc:mysql://google/%s?cloudSqlInstance=%s"
44+
+ "&socketFactory=com.google.cloud.sql.mysql.SocketFactory&useSSL=false",
4545
databaseName,
4646
instanceConnectionName);
4747

0 commit comments

Comments
 (0)