Home > AMP

mysqlimport: Error: 13, Can’t get stat of

[root@sun ~]# mysqlimport –fields-terminated-by=, –lines-terminated-by=\n ziliao ./a.csv
mysqlimport: Error: 13, Can’t get stat of ‘/var/lib/mysql/a.csv’ (Errcode: 2), when using table: a
缺少一个参数 –local · –local, -L

Read input files locally from the client host.
[root@sun ~]# mysqlimport –fields-terminated-by=, –lines-terminated-by=\n ziliao ./a.csv –local
ziliao.a: Records: 713 Deleted: 0 Skipped: 0 Warnings: 8617

随机文章:

发表评论