redis - When running a python crawler, the MySQL version is 5.7 and an error is always reported
扔个三星炸死你
扔个三星炸死你 2017-06-12 09:19:42
0
2
931

When running the python crawler, the MySQL version is 5.7 and an error is always reported

C:\Python34\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)

What's the problem? How to solve it?

扔个三星炸死你
扔个三星炸死你

reply all(2)
学霸

What encoding do you use mysql for?

世界只因有你

The warning is that there is an incorrect character value in line 480. The encoding of the file is inconsistent with the encoding setting of MySQL

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template