Incorrect string value: ‘\xF0\x9F\x9B\xB3, …’ for column ‘option_value’ at row 1

    Read

昨天(应该是今天凌晨三点)恢复数据库的时候,发生一个小插曲:


查看下一下mysql的建表语句:

大概原因是字符集"utf8mb4"搞的鬼,遇到两次字符集恢复数据库的问题了
第一次:https://note.t4x.org/database/restoring-database-error/
修复方法:

停电了,utf8mb4这个字符集有很多新特性,不介绍了。请百度!SourceByrd's Weblog-https://note.t4x.org/database/incorrect-string-value-error/ SourceByrd's Weblog-https://note.t4x.org/database/incorrect-string-value-error/

申明:除非注明Byrd's Blog内容均为原创,未经许可禁止转载!详情请阅读版权申明!
Byrd
  • by Published on April 25, 2016
  • 原文链接:https://note.t4x.org/database/incorrect-string-value-error/
匿名

Comment

Anonymous

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: