问题:((1, '?????'), (2, '?????'), (3, '?????'), (4, '?????'), (5, '?????'))
解决方案:添加:charset='utf8
import pymysql
db = pymysql.connect('192.168.153.131','root','123456','bbs',3306,charset='utf8')
问题:((1, '?????'), (2, '?????'), (3, '?????'), (4, '?????'), (5, '?????'))
解决方案:添加:charset='utf8
import pymysql
db = pymysql.connect('192.168.153.131','root','123456','bbs',3306,charset='utf8')