当前位置:Gxlcms > 数据库问题 > python与mysql交互

python与mysql交互

时间:2021-07-01 10:21:17 帮助过:22人阅读

con = MySQLdb.connect(host="localhost(host=‘localhost‘.user=‘root‘,password=

dfb = 

cur = c.cursor

cur.excute("show tables;)

cur.close

c.close

 

python与mysql交互

标签:

人气教程排行