尝试将 Apache Superset 连接到 Google Cloud SQL (PostgreSQL) 时,出现此错误:
我也尝试通过 SQLAlchemy URI 字符串连接失败
postgresql://username:password@host:port/database
还有PostgreSQL+psycopg2://username:password@host:port/database?sslmode=require
;Error: Please check your connection details and database settings, and ensure that your database is accepting connections, then try connecting again.
我用的:
有人可以帮助理解和解决吗?
必须在云 SQL 中创建私有 IP 才能连接到 Superset。 文档链接