This sample has been moved into python-docs-samples.
This is an example program showing how to use the native MySQL connections from Google App Engine to Google Cloud SQL.
-
edit the 'application: your-app-id' from app.yaml to point to an app you control. Optionally, edit the 'version: 1' to create the desired version.
-
edit the
unix_socket
fromapp.py
andapp_mysql.py
to point to a Cloud SQL instance that is associated with the app you used at step 1. -
Upload the app:
appcfg.py update .
- See CONTRIB.md
- See LICENSE