摘要:
导入模块 import pymysql conn = pymysql.connect( user = "root", db = "day36", host = "127.0.0.1", post = 3306, charset = "utf8" autocommit = True #自动提交确认 ) 阅读全文
posted @ 2019-12-16 18:58
medigrat
阅读(136)
评论(0)
推荐(0)
摘要:
导入模块 import pymysql 连接(看一下password有没有,没有的话会怎么样,有很多参数,有些参数也是可以不传的) conn = pymysql.connect(user = "root",host = "127.0.0.1",port = 3306,charset = "utf8" 阅读全文
posted @ 2019-12-16 16:21
medigrat
阅读(184)
评论(0)
推荐(0)

浙公网安备 33010602011771号