psycopg2 , pymysql 连接数据库 操作
psycopg2 -创建数据表psycopg2.connect() 连接数据库 connect()参数说明: database="database" 数据库表名 user="name" 数据库用户名 password="123456" 数据库用户密码 host="127.0.0.1" IP地址 port="5432" # 安装python 三方模块 psycopg2 # pip install psycopg2 i...
原创
2022-03-19 00:30:00 ·
4679 阅读 ·
0 评论