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 — java-docs-samples/appengine/cloudsql at master · rksp25/java-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

..
src/main
src/main
 
 
README.md
README.md
 
 
pom.xml
pom.xml
 
 

README.md

Outline

Cloud SQL sample for Google App Engine

This sample demonstrates how to use Cloud SQL on Google App Engine

Setup

Before you can run or deploy the sample, you will need to create a Cloud SQL instance

  1. Create a new user and database for the application. The easiest way to do this is via the Google Developers Console. Alternatively, you can use MySQL tools such as the command line client or workbench.

Running locally

  1. You will need to be running a local instance of MySQL.
  2. Update the connection string in appengine-web.xml with your local MySQL instance values.
    $ mvn clean appengine:devserver

Deploying

  1. Update the connection string in appengine-web.xml with your Cloud SQL instance values.
    $ mvn clean appengine:update
You are visitor 01402775 — 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.