How to connect to a cluster in Amazon Redshift using SQLAlchemy?

后端 未结 5 1235
既然无缘
既然无缘 2021-01-12 06:17

In Amazon Redshift\'s Getting Started Guide, it\'s mentioned that you can utilize SQL client tools that are compatible with PostgreSQL to connect to your Amazon Redshift Clu

5条回答
  •  执笔经年
    2021-01-12 06:39

    I was running into the exact same issue, and then I remembered to include my Redshift credentials:

    eng = create_engine('postgres://[LOGIN]:[PWORD]@shippy.cx6x1vnxlk55.us-west-2.redshift.amazonaws.com:5439/shippy
    

提交回复
热议问题