Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6b5ec6d

Browse filesBrowse files
authored
Merge pull request GoogleCloudPlatform#1067 from andrewsg/mysite-mysql
Make port explicit in configuration so it is clear how to change to MySQL
2 parents b3559ee + 912729a commit 6b5ec6d
Copy full SHA for 6b5ec6d

File tree

Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed

‎appengine/flexible/django_cloudsql/mysite/settings.py

Copy file name to clipboardExpand all lines: appengine/flexible/django_cloudsql/mysite/settings.py
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@
8787
'NAME': 'polls',
8888
'USER': '<your-database-user>',
8989
'PASSWORD': '<your-database-password>',
90+
# For MySQL, set 'PORT': '3306' instead of the following. Any Cloud
91+
# SQL Proxy instances running locally must also be set to tcp:3306.
92+
'PORT': '5432',
9093
}
9194
}
9295
# In the flexible environment, you connect to CloudSQL using a unix socket.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.