While trying to connect Apache Superset to Google Cloud SQL (PostgreSQL) I get this error:
I also unsuccessfully tried to connect by SQLAlchemy URI string
postgresql://username:password@host:port/database
as well as
PostgreSQL+psycopg2://username:password@host:port/database?sslmode=require
;
yielding
Error: Please check your connection details and database settings, and ensure that your database is accepting connections, then try connecting again.
What I used:
- Superset: 2.1.0 (installed on Google virtual machine)
- PostgreSQL: 15.2 (Google Cloud SQL)
Can somebody help to understand and solve?