This sample demonstrates how to use Cloud SQL on Google App Engine
Before you can run or deploy the sample, you will need to create a Cloud SQL instance
- 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.
- You will need to be running a local instance of MySQL.
- Update the connection string in
appengine-web.xmlwith your local MySQL instance values.$ mvn clean appengine:devserver
- Update the connection string in
appengine-web.xmlwith your Cloud SQL instance values.$ mvn clean appengine:update