| 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 standard Java 8
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
$ mvn clean appengine: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 |