Commit ff9a856
Fix Cloud SQL example (MySQL) (#2309)
The sample has the wrong format for `unix_socket` inside the query parameter in sqlalchemy.create_engine.
Doing:
'/cloudsql/{}/'.format(cloud_sql_connection_name)
takes the path as a directory so the ending slash needs to be removed:
'/cloudsql/{}'.format(cloud_sql_connection_name)1 parent 0ce1495 commit ff9a856
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
0 commit comments