GBase 8a
适配迁移
文章
GBase 8a数据库加载报错Couldn't connect to server
GBase社区管理员发表于2020-08-20 22:06:31101次浏览0个评论
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服务没有启动
评论已关闭
热门帖子
- 12025-12-01浏览数:182759
- 22023-05-09浏览数:25052
- 42023-09-25浏览数:18521
- 52020-05-11浏览数:17526