I am trying to connect to a Cloud SQL postgresql instance through python 3.7 from my local machine. I am following the guide from the README cloud-sql-python-connector. There it says to pip install the necessary module with the following command, for a postgresql instance: But when I run this in my terminal, I get the following error: There does exist
Tag: pg8000
How do I connect to Postgresql using SSL from SqlAchemy+pg8000?
Connecting to postgres via pg8000 from SqlAlchemy worked fine until I enabled SSL on postgres. Now it seems to fail with: Answer You need to add a connect_args dict: