data truncated for column se
时间: 2023-11-01 17:56:29 浏览: 151
回答:根据引用提供的信息,错误提示为"Row 6737 was truncated; it contained more data than there were input columns",这可能是由于sql_mode的设置问题。你可以使用命令"show variables like '%sql_mode%'"来查看当前的sql_mode设置。如果引用所述的问题确实是由于strict_trans_tables导致的,你可以通过将其从sql_mode中移除来解决问题。再次执行"load data infile 'd:/ip_to_country.csv'"命令。引用提到数据已经成功导入,你可以先进入MySQL数据库并设置character_set_results为gb2312,然后查询10条记录来观察导入的效果。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* *3* [mysqlimport show warnings](https://blog.csdn.net/weixin_34972620/article/details/113263037)[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^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 100%"]
[ .reference_list ]
阅读全文