File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636# managing a pool of connections to your database
3737db = sqlalchemy .create_engine (
3838 # 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>
4040 sqlalchemy .engine .url .URL (
4141 drivername = 'mysql+pymysql' ,
4242 username = db_user ,
Original file line number Diff line number Diff line change 3636# managing a pool of connections to your database
3737db = sqlalchemy .create_engine (
3838 # Equivalent URL:
39- # postgres+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
4040 sqlalchemy .engine .url .URL (
4141 drivername = 'postgres+pg8000' ,
4242 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