conn = MySQLdb.connect(host='localhost', user='root',passwd='123', db='account', charset='utf8'),需要设定charset,同时需要注意创建数据库时的字符集编码是否一致
conn = MySQLdb.connect(host='localhost', user='root',passwd='123', db='account', charset='utf8'),需要设定charset,同时需要注意创建数据库时的字符集编码是否一致