Skip to content

Commit e06ff00

Browse files
Shun Fanlesv
Shun Fan
authored andcommitted
Update connection string url in cloudsql sample (GoogleCloudPlatform#183)
1 parent 73e9741 commit e06ff00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

appengine/cloudsql/src/main/webapp/WEB-INF/appengine-web.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<threadsafe>true</threadsafe>
2020
<use-google-connector-j>true</use-google-connector-j>
2121
<system-properties>
22-
<property name="ae-cloudsql.cloudsql-database-url" value="jdbc:google:mysql://YOUR-PROJECT-NAME:YOUR-CLOUDSQL-INSTANCE-NAME/DATABASE-NAME?user=USERNAME&amp;password=PASSWORD" />
22+
<property name="ae-cloudsql.cloudsql-database-url" value="jdbc:google:mysql://[INSTANCE_CONNECTION_NAME]/DATABASE-NAME?user=USERNAME&amp;password=PASSWORD" />
2323
<property name="ae-cloudsql.local-database-url" value="jdbc:mysql://localhost/DATABASE-NAME?user=USERNAME&amp;PASSWORD=password&amp;useSSL=false" />
2424
</system-properties>
2525
</appengine-web-app>

0 commit comments

Comments
 (0)