Incorrect string value: '\xE6\xB5\x8B\xE8\xAF\x95...' for column
时间: 2023-09-04 22:07:51 浏览: 123
'nickname' at row 1 这个错误是由于数据库表中的'nickname'列的编码格式问题引起的。错误信息中指出了字符串值的编码问题。引用中提到的解决方案是修改'nickname'的编码格式,而不需要修改整个表。这种方式也无需重启数据库,修改后立即生效。引用中也提供了解决办法,可以通过修改表的属性或删除并重新创建表来解决这个问题。<span class="em">1</span><span class="em">2</span>
#### 引用[.reference_title]
- *1* [Incorrect string value: ‘\xF0\x9F\x8C\xB7’ for column ‘nickname’修改mysql某列的编码格式](https://download.csdn.net/download/weixin_38719540/13685177)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* [java.sql.SQLException: Incorrect string value: ‘\xE6\xB5\x8B\xE8\xAF\x95...‘ for column ‘xxx](https://blog.csdn.net/qq_33839972/article/details/123250394)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文