问下mysql导出的csv文件如何在命令行用load data 导入,我看了下文档并没有命令行的样例,特此问下如何导入。多谢。
mysql下:
load data local infile '/root/fs_user.csv' into table fs_user fields terminated by ',' lines terminated by ' ';
tidb下:
load data local infile '/tidb/fs_user.csv' into table fs_user separator',';
Lucien
( Lucien)
2
您好,我就是按照文档来操作的,
https://pingcap.com/docs-cn/v2.1/reference/tools/tidb-lightning/csv/
是需要先做这个配置吗?
CSV 格式可在
tidb-lightning.toml 文件中
[mydumper.csv] 下配置
第一次用tidb请问下,这个tidb-lightning.toml再那里?
system
(system)
关闭
5
此话题已在最后回复的 1 分钟后被自动关闭。不再允许新回复。