0

I have an app that uses the Python Standard Environment on App Engine. I tried, but failed, to find instructions to connect to Postgres on Cloud SQL.

In the documentation, under "App Engine standard environment to Cloud SQL", I only see instructions for Java.

Is it really the case that there is no way to connect to Postgres on Cloud SQL?

2 Answers 2

3

PostgreSQL is currently only available to GAE Flexible environments and GAE Standard running on Java 8. Python on GAE Standard is not yet supported for PostgreSQL. See FAQ and supported languages here.

Sign up to request clarification or add additional context in comments.

1 Comment

Is there any eta that you know of for PostgreSQL support on GAE Standard w/ Python? I would love it!
1

For Python 2.7, you can use pg8000, but it lacks some features and, in my experience, a little unstable.

For Python 3.7, you can use psycopg2. Seems that the docs examples are for MySQL and not for PostgreSQL, but you can see them here.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.