Connecting from App Engine

This page provides language-specific links to informaton about how to set up a connection from an App Engine application and a Cloud SQL instance.

For information about the various options for connecting to Cloud SQL, see Connection Options for External Applications.

App Engine flexible environment to Cloud SQL

For information about connecting from App Engine flexible environment to Cloud SQL instances, see the App Engine documentation for your programming language:
Language Documentation
Python Using Cloud SQL for PostgreSQL with Python
Java Using Cloud SQL for PostgreSQL with Java
Node.js Using Cloud SQL for PostgreSQL with Node.js
Go Using Cloud SQL for PostgreSQL with Go
Ruby Using Cloud SQL for PostgreSQL with Ruby
PHP Using Cloud SQL for PostgreSQL with PHP
.NET Using Cloud SQL for PostgreSQL with .NET

Need help? For help troubleshooting the proxy, see Troubleshooting Cloud SQL Proxy connections. Or, see our Cloud SQL Support page.

What's next

Monitor your resources on the go

Get the Google Cloud Console app to help you manage your projects.

Send feedback about...

Cloud SQL for PostgreSQL