kettle-error-OPTION SQL_SELECT_LIMIT=DEFAULT

问题描述

kettle在抽取mysql数据到SqlServer时,表输入mysql查询正常,表输出获取字段时报错:

Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'OPTION SQL_SELECT_LIMIT=DEFAULT' at line 1


经查由5.6版本mysql,要求更高版本的mysql-connector驱动导致


解决办法:

下载最新版本mysql-connector的jar包,于data-integration\lib文件中,替换原jar包

下载链接:https://dev.mysql.com/downloads/connector/j/


你可能感兴趣的:(kettle)