From a8f5913d5f686c47bc64f36991e968c4082b737a Mon Sep 17 00:00:00 2001 From: Vladimir Kovpak Date: Wed, 4 Sep 2019 13:41:14 +0300 Subject: [PATCH 1/3] Added GCP connection string example for flexible environment. --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index c6adf1d63..755c843d0 100644 --- a/README.md +++ b/README.md @@ -406,6 +406,11 @@ Google Cloud SQL on App Engine (Second Generation MySQL Server): user@cloudsql(project-id:regionname:instance-name)/dbname ``` +Google Cloud SQL on App Engine (Second Generation MySQL Server on Flexible Environment): +``` +user:password@unix(/cloudsql/project-id:region-name:instance-name)/dbname +``` + TCP using default port (3306) on localhost: ``` user:password@tcp/dbname?charset=utf8mb4,utf8&sys_var=esc%40ped From f5894c213fc5da0b1c096706057729abcb44328e Mon Sep 17 00:00:00 2001 From: Vladimir Kovpak Date: Wed, 4 Sep 2019 13:45:16 +0300 Subject: [PATCH 2/3] Added one more GCP connection string example for flexible environment. --- AUTHORS | 1 + 1 file changed, 1 insertion(+) diff --git a/AUTHORS b/AUTHORS index bfe74c4e1..d87414e82 100644 --- a/AUTHORS +++ b/AUTHORS @@ -81,6 +81,7 @@ Steven Hartland Thomas Wodarek Tim Ruffles Tom Jenkinson +Vladimir Kovpak Xiangyu Hu Xiaobing Jiang Xiuming Chen From 716d2bdb74553a3a743b0f44ca1131191c5a6fd8 Mon Sep 17 00:00:00 2001 From: Vladimir Kovpak Date: Wed, 4 Sep 2019 14:28:11 +0300 Subject: [PATCH 3/3] Unified GCP connection strings examples for 2nd gen and flexible env. --- README.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/README.md b/README.md index 755c843d0..20fff486f 100644 --- a/README.md +++ b/README.md @@ -403,11 +403,6 @@ user@cloudsql(project-id:instance-name)/dbname Google Cloud SQL on App Engine (Second Generation MySQL Server): ``` -user@cloudsql(project-id:regionname:instance-name)/dbname -``` - -Google Cloud SQL on App Engine (Second Generation MySQL Server on Flexible Environment): -``` user:password@unix(/cloudsql/project-id:region-name:instance-name)/dbname ```