kettle 安装mysql 驱动

时间:2024-03-27 14:37:25

错误连接数据库 [mysql] : org.pentaho.di.core.exception.KettleDatabaseException:
Error occurred while trying to connect to the database

Driver class ‘org.gjt.mm.mysql.Driver‘ could not be found, make sure the ‘MySQL‘ driver (jar file) is installed.
org.gjt.mm.mysql.Driver


 

-------------------------------------------

1:下载驱动

https://dev.mysql.com/downloads/file/?id=468318

 

2、将对应的mysql驱动包(mysql-connector-java-5.1.15-bin)放到下kettle的目录:

       \pdi-ce-5.2.0.0-209\data-integration\lib下或

        \pdi-ce-5.2.0.0-209\data-integration\libswt\win64下

【我的电脑是64位的】

以下是,缺失MS SQLserver驱动,下载SQLserver的JDBC连接驱动jar导入

       \pdi-ce-5.2.0.0-209\data-integration\lib下或

        \pdi-ce-5.2.0.0-209\data-integration\libswt\win64下

然后重启spoon.bat即可。

kettle 安装mysql 驱动