Following this tutorial for GoLang:
https://cloud.google.com/appengine/docs/standard/go/cloud-sql/#setting-up
When I try to query the database to see if everything is working properly,
I get an odd error: Could not query db: missing "=" after
"postgres:vj0tO7Iaodofu4or@cloudsql(inspired-arena-167005:us-central1:cho-postgresql)/"
in connection info string"
The error happens on this following code/query.
rows, err := db.Query("SHOW DATABASES")
if err != nil {
http.Error(w, fmt.Sprintf("Could not query db: %v", err), 500)
return
}
Only thing I changed from the tutorial is changing "mysql" to "postgres".
Thank you in advance for any help.
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-appengine/e2fbd002-4344-4c3b-b9d6-101e80de9688%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.