conn = pymysql.connect(host=host, port=port, user=user, passwd=password, db=db,charset='utf8')
cursor = conn.cursor()
记得那个设置charset
conn = pymysql.connect(host=host, port=port, user=user, passwd=password, db=db,charset='utf8')
cursor = conn.cursor()
记得那个设置charset
本文标题:pymysql插入数据提示latin can't XXX问题解决
本文链接:https://www.haomeiwen.com/subject/kbgliqtx.html
网友评论