Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Outline

Using Cloud SQL from Google App Engine

This is an example program showing how to use the native MySQL connections from Google App Engine to Google Cloud SQL.

Refer to the App Engine Samples README for information on how to run and deploy this sample.

Setup

  1. You will need to create a Cloud SQL instance.

  2. Edit the CLOUDSQL_INSTANCE and CLOUDSQL_PROJECT values in main.py.

  3. To run locally, you will need to be running a local instance of MySQL. You may need to update the connection code in main.py with the appropriate local username and password.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.