File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 36
36
# managing a pool of connections to your database
37
37
db = sqlalchemy .create_engine (
38
38
# Equivalent URL:
39
- # mysql+pymysql://<db_user>:<db_pass>@/<db_name>?unix_sock =/cloudsql/<cloud_sql_instance_name>
39
+ # mysql+pymysql://<db_user>:<db_pass>@/<db_name>?unix_socket =/cloudsql/<cloud_sql_instance_name>
40
40
sqlalchemy .engine .url .URL (
41
41
drivername = 'mysql+pymysql' ,
42
42
username = db_user ,
Original file line number Diff line number Diff line change 36
36
# managing a pool of connections to your database
37
37
db = sqlalchemy .create_engine (
38
38
# Equivalent URL:
39
- # postgres
87D6
+pg8000://<db_user>:<db_pass>@/<db_name>?unix_socket =/cloudsql/<cloud_sql_instance_name>/.s.PGSQL.5432
39
+ # postgres+pg8000://<db_user>:<db_pass>@/<db_name>?unix_sock =/cloudsql/<cloud_sql_instance_name>/.s.PGSQL.5432
40
40
sqlalchemy .engine .url .URL (
41
41
drivername = 'postgres+pg8000' ,
42
42
username = db_user ,
Original file line number Diff line number Diff line change 1
- Flask == 1.0.2
2
- SQLAlchemy == 1.2.17
3
- pg8000 == 1.13.1
1
+ Flask == 1.1.1
2
+ SQLAlchemy == 1.3.6
3
+ pg8000 == 1.13.2
You can’t perform that action at this time.
0 commit comments