postgresql

来源:互联网 发布:淘宝网主页 编辑:程序博客网 时间:2024/06/18 04:40

链接

默认用户是postgres 密码是安装时候设置的,待补充()增加及删除用户

import psycopg2conn = psycopg2.connect(database="test_db", user="postgres", password="tuji2013", host="127.0.0.1", port="5432")print ("Opened database successfully")
原创粉丝点击