加载数据 infile 截断数据

问题描述

我正在尝试将一些用户数据导入 mysql。 我正在运行的命令是

load data infile "userdata.txt" 
into table userdata 
character set "ascii" 
fields terminated by ':';

数据为普通密码文件:

邮箱:密码

密码部分导入好了。 但是第一列奇怪地被截断了

用户名 密码
[email protected] xxxxxx
[email protected] xxxxxx
[email protected] xxxxxx
[email protected] xxxxxx

你可以看到user_name里面的email是不对的,text中的Data没有奇怪的字符左右。电子邮件格式为 [email protected]

有什么想法我想念的吗?

谢谢!

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)