We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc2a465 commit 5febbfaCopy full SHA for 5febbfa
datastore.go
@@ -173,7 +173,7 @@ func getDBConnection(store *Datastore) *runner.DB {
173
174
if host == "GCLOUD_SQL_INSTANCE" {
175
// USE THE GCLOUD_SQL_INSTANCE SETTING instead... e.g. host= /cloudsql/INSTANCE_CONNECTION_NAME // JC I wonder if it is always /cloudsql
176
- host = store.Settings.Get("GCLOUD_SQL_INSTANCE")
+ host = "/cloudsql" + store.Settings.Get("GCLOUD_SQL_INSTANCE")
177
}
178
179
dbStr := "dbname=" + dbName + " user=" + username + " host=" + host
0 commit comments