gae-postgres | Connect to Cloud SQL for PostgreSQL from Google App Engine | GCP library
kandi X-RAY | gae-postgres Summary
kandi X-RAY | gae-postgres Summary
Connect to Cloud SQL for PostgreSQL from Google App Engine
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- parseOpts parses libpq connection options .
- SkipSpaces returns the next space rune .
- newScanner returns a new scanner .
- init registers a new sqlriver
gae-postgres Key Features
gae-postgres Examples and Code Snippets
Community Discussions
Trending Discussions on gae-postgres
QUESTION
I'm building an app in Go and am using Google App Engine for deployment.
I have set up a PostgreSQL instance on Google Cloud, have enabled the API and have successfully connected to it using the SQL proxy from my local machine, both from a local PSequel client and from my app.
When I do gcloud app deploy
, however, I get this error:
ANSWER
Answered 2019-Aug-08 at 17:15I replicated this issue in my testing environment and found that the error you are getting is due to the beta_settings having the port specified. I tried it with the =tcp:5432
at the end, and it gave me the same error, then I tried it without it and it got deployed without any issues.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install gae-postgres
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page