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?
世界只因有你2017-06-12 09:21:42
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