python - SQLAlchemy插入数据产生警告
ringa_lee
ringa_lee 2017-04-18 10:27:23
0
1
568
D:\Python\Python35\lib\site-packages\pymysql\cursors.py:166: Warning: (1366, "Incorrect string value: '\\xD6\\xD0\\xB9\\xFA\\xB1\\xEA...' for column 'VARIABLE_VALUE' at row 480")
  result = self._query(query)
  

字符集设置统一为utf8,并且数据可以正常插入,但是每次都提示这个警告信息。最重要的是,我的表中并没有VARIABLE_VALUE这样的列,只插入一条数据也显示at row 480。网上类似的问题处理办法基本都是修改字符集,尝试过了.. 并不能解决..

ringa_lee
ringa_lee

ringa_lee

reply all(1)
小葫芦

This link is the solution to the same problem for reference

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!