| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
This sample demonstrates how to use Cloud SQL on Google App Engine Flexible
If you haven't already, Download and initialize the Cloud SDK
gcloud init
If you haven't already, Create an App Engine app within the current Google Cloud Project
gcloud app create
If you haven't already, Setup Application Default Credentials
gcloud auth application-default login
Note the Instance connection name under Overview > properties
Looks like: projectID:region:instance
$ mvn clean jetty:run -DINSTANCE_CONNECTION_NAME=instanceConnectionName -Duser=root -Dpassword=myPassword -Ddatabase=myDatabase$ mvn clean appengine:deploy -DINSTANCE_CONNECTION_NAME=instanceConnectionName -Duser=root -Dpassword=myPassword -Ddatabase=myDatabase| Back | FazBrowse Home | New Git URL |