📜  psycopg2 连接字符串 - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:43.306000             🧑  作者: Mango

代码示例1
#Define our connection string
    conn_string = "host='localhost' dbname='my_database' user='postgres' password='secret'"