执行Mysql命令后SSIS包出错

时间:2013-12-18 09:56:29

标签: mysql ssis

我想从SSIS写一个MySQL数据库。我跟着这个tuto http://blogs.msdn.com/b/mattm/archive/2009/01/07/writing-to-a-mysql-database-from-ssis.aspx 执行此命令后

set @@global.sql_mode='STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION,ANSI_QUOTES'

我收到了这个错误:

 Error: 0x0 at EndControlMonitoring: String or binary data would be truncated.
    Error: 0xC002F210 at EndControlMonitoring, Execute SQL Task: Executing the query "EXEC FlowEndControlFlowMonitoring  ?, 0, ?,?
    " failed with the following error: "The statement has been terminated.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.
    Task failed: EndControlMonitoring
    Warning: 0x80019002 at OnError: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED.  The Execution method succeeded, but the number of errors raised (2) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors.
    Error: 0xC002F210 at Create AdjustEbsences Proc, Execute SQL Task: Executing the query "USE ETL;
    DROP PROCEDURE IF EXISTS AdjustAbsences;
    ..." failed with the following error: "ERROR [42000] [MySQL][ODBC 5.2(a) Driver][mysqld-5.1.33]

0 个答案:

没有答案