现象如下: Database changed MySQL [tpch]> show tables; +----------------+ | Tables_in_tpch | +----------------+ | customer | | lineitem | | nation | | orders | | part | | partsupp | | region | | supplier | +----------------+ 8 rows in set (0.00 sec) MySQL [tpch]> load data infile '/home/data_sata/tpchgen/TPC-H_Tools_v3.0.0_1T/dbgen/lineitem.tbl' into table lineitem FIELDS TERMINATED BY '|'; ERROR 13 (HY000): Can't get stat of '/home/data_sata/tpchgen/TPC-H_Tools_v3.0.0_1T/dbgen/lineitem.tbl' (OS errno 2 - No such file or directory) MySQL [tpch]> MySQL [tpch]> quit Bye [tpchdatagen@localhost29 dbgen]$ stat /home/data_sata/tpchgen/TPC-H_Tools_v3.0.0_1T/dbgen/lineitem.tbl 文件:"/home/data_sata/tpchgen/TPC-H_Tools_v3.0.0_1T/dbgen/lineitem.tbl" 大小:813745803803 块:1589347288 IO 块:4096 普通文件 设备:820h/2080d Inode:4296046038 硬链接:1 权限:(0644/-rw-r--r--) Uid:( 1142/tpchdatagen) Gid:( 1142/tpchdatagen) 环境:unconfined_ubject_r:user_home_t:s0 最近访问:2024-03-07 14:13:06.465775278 +0800 最近更改:2024-02-23 16:05:32.564594994 +0800 最近改动:2024-02-23 16:05:32.564594994 +0800 创建时间:- |
合作电话:010-64087828
社区邮箱:greatsql@greatdb.com