Connecting postgresql with sqlalchemy

后端 未结 3 1617
礼貌的吻别
礼貌的吻别 2020-12-12 21:45

I know this might be really a simple question but I don\'t know the solution. What is happening here when I try to connect to postgresql? I am self learner in this field of

3条回答
  •  北海茫月
    2020-12-12 22:20

    Yes, psycopg2 are basically the Python drivers for PostgreSQL that need to be installed separately.

    A list of valid connection strings can be found here, yours is a bit off (you need to the username, the password and hostname as specified in the link below):

    http://docs.sqlalchemy.org/en/latest/core/engines.html#postgresql

提交回复
热议问题