java.sql.SQLException: Incorrect string value: '\xE6\x9D\xAD\xE5\xB7\x9E...' for column 'customer' at row 1
时间: 2023-09-30 14:06:47 浏览: 106
这个错误出现的原因是在MySQL中存储表情时,遇到了不正确的字符串值。解决这个问题的方法是确保数据库表格的编码格式是utf-8,如果不是,可以删除重新建立表格,以确保正确存储表情数据。这个错误通常在插入数据时出现,具体出错的列是'customer',出错的行数是1。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [Cause: java.sql.SQLException: Incorrect string value: ‘\xE6\x88\xB4\xE5\xAD\x90...‘ f](https://blog.csdn.net/zi2242975806/article/details/130141429)[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_2"}}] [.reference_item style="max-width: 50%"]
- *2* [MySQL存储表情时报错:java.sql.SQLException: Incorrect string value:‘\xF0\x9F\x92\xA9\x0D\x0A...’的...](https://download.csdn.net/download/weixin_38637272/12761005)[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_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文