美文网首页
Mysql--Row 235 doesn't contain d

Mysql--Row 235 doesn't contain d

作者: 原鸣清 | 来源:发表于2019-11-08 16:50 被阅读0次

工作需要将测试用例导入数据库,将excel文件转成.csv,并且用以下命令执行:

load data infile '~/Desktop/test.csv' into table test_case_pool fields terminated by ',' optionally enclosed by '"' escaped by '"' lines terminated by '\r\n';

遭遇如题报错。苦搜无果,最后用了梯子才找到办法
执行下面两条sql就可以:

show variables like 'sql_mode';
set sql_mode='';

相关文章

网友评论

      本文标题:Mysql--Row 235 doesn't contain d

      本文链接:https://www.haomeiwen.com/subject/pqrwbctx.html