Python连接数据库
db = pymysql.connect(host = '127.0.0.1',port = 3306,db='db',user = 'root',passwd = 'root',charset = 'utf8')
cursor = db.cursor()
cursor.execute('select * from imge
Python连接数据库
db = pymysql.connect(host = '127.0.0.1',port = 3306,db='db',user = 'root',passwd = 'root',charset = 'utf8')
cursor = db.cursor()
cursor.execute('select * from imge
本文标题:2018-12-21
本文链接:https://www.haomeiwen.com/subject/ahdmkqtx.html
网友评论