尝试使用快速加载工具时出现连接错误8017

时间:2016-03-10 20:25:53

标签: database-connection teradata

我收到错误消息8017:

  

尝试加载数据时,UserId,密码或帐户无效   使用快速负载。

快速加载脚本:

logon 10.61.59.93/796207,Wpwp123;

drop table DATAMDL_SNDBX.QA_FL_PD;

drop table DATAMDL_SNDBX.ERROR_TABLE_ucv; 

drop table DATAMDL_SNDBX.ERROR_TABLE_TV;

CREATE SET TABLE DATAMDL_SNDBX.QA_FL_PD ,NO FALLBACK ,
     NO BEFORE JOURNAL,
     NO AFTER JOURNAL,
     CHECKSUM = DEFAULT,
     DEFAULT MERGEBLOCKRATIO
     (
      NAME VARCHAR(10) CHARACTER SET LATIN NOT CASESPECIFIC,
      INITIAL VARCHAR(10) CHARACTER SET LATIN NOT CASESPECIFIC)
PRIMARY INDEX CRO_FLIGHT_LEG_DEP_NUPI ( NAME );

SET RECORD VARTEXT'~';

DEFINE
NAME (VARCHAR(10)),
INITIAL (VARCHAR(10))

FILE = C:\Users\Scarlet\Desktop\FL_Data.TXT;

BEGIN LOADING DATAMDL_SNDBX.QA_FL_PD ERRORFILES teradata fastload.ERROR_TABLE_UCV, teradata fastload.ERROR_TABLE_TV;

INSERT INTO DATAMDL_SNDBX.QA_FL_PD
VALUES (:NAME,
        :INITIAL);

END LOADING;
LOGOFF;

包含数据的文件(只有1条记录):

NAME~INITIAL
PRASHANT~PD

错误讯息:

C:\Windows\system32>cd\

C:\>fastload<C:\Users\Scarlet\Desktop\FL_Script.TXT
     ===================================================================
     =                                                                 =
     =          FASTLOAD UTILITY     VERSION 14.10.00.03               =
     =          PLATFORM WIN32                                         =
     =                                                                 =
     ===================================================================

     ===================================================================
     =                                                                 =
     =          Copyright 1984-2013, Teradata Corporation.             =
     =          ALL RIGHTS RESERVED.                                   =
     =                                                                 =
     ===================================================================

**** 14:08:03 Processing starting at: Thu Mar 10 14:08:02 2016

     ===================================================================
     =                                                                 =
     =          Logon/Connection                                       =
     =                                                                 =
     ===================================================================

0001 logon 10.61.59.93/796207,

**** 14:08:03 RDBMS error 8017: The UserId, Password or Account is
              invalid.
**** 14:08:03 Unable to log on Main SQL Session
**** 14:08:03 FastLoad cannot continue. Exiting.
     ===================================================================
     =                                                                 =
     =          Exiting                                                =
     =                                                                 =
     ===================================================================

**** 14:08:03 Total processor time used = '0.124801 Seconds'
     .        Start : Thu Mar 10 14:08:02 2016
     .        End   : Thu Mar 10 14:08:03 2016
     .        Highest return code encountered = '12'.
**** 14:08:03 FDL4818 FastLoad Terminated

1 个答案:

答案 0 :(得分:0)

问题是,我应该提到我应该使用什么机制来连接。 在顶部添加以下行解决了我的问题

logmech LDAP;

问题解决了.. :) 我不知道如何关闭这个帖子。

由于 PRASHANT