GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — python-docs-samples/appengine/cloudsql at master · kbanggithub/python-docs-samples

Expand file tree

/

cloudsql

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

cloudsql

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
README.md
README.md
 
 
__init__.py
__init__.py
 
 
app.yaml
app.yaml
 
 
main.py
main.py
 
 
main_test.py
main_test.py
 
 

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.

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.