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 912729a

Browse filesBrowse files
committed
Make port explicit in configuration so that it is more clear how to change to MySQL
1 parent b3559ee commit 912729a
Copy full SHA for 912729a

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.