python与mysql数据库连接中常见错误

1 1366, "Incorrect string value: '\\xF0\\x9F\\x98\\x81'

solve: You need utf8mb4, not utf8, when connecting to MySQL and in the columns involved --- Rick James (stackoverflow)

posted @ 2018-07-13 12:02  fuzzier  阅读(572)  评论(0编辑  收藏  举报