南大通用GBase 8a数据库加载报错Couldn't connect to server

GBase 8a 数据库集群从V8版本开始用LOAD进行数据加载,需要指定数据源,如果数据源无法连接,比如服务没有启动,则报Couldn't connect to server错误。

原因

ip地址错误或者vsftpd服务没有启动

gbase> load data infile 'ftp://gbase:gbase@172.16.128.11//home/gbase/1.txt'  into table test.tmp_lxj_1212_test data_format 3;
ERROR 1733 (HY000): (GBA-01EX-700) Gbase general error: I/O operation on ftp://gbase:*****@172.16.128.11//home/gbase/1.txt failed with error - Couldn't connect to server, File name ftp://gbase:*****@172.16.128.11//home/gbase/1.txt

解决方案

排查是否ip地址写错,或者vsftpd服务没有启动

南大通用GBase 8a数据库加载报错Couldn't connect to server》有2条评论

评论已关闭。