Kettle连接Mysql数据库异常的原因

报错信息:
Error connecting to database [111] : org.pentaho.di.core.exception.KettleDatabaseException:
Error occured while trying to connect to the database

Exception while loading class
org.gjt.mm.mysql.Driver


org.pentaho.di.core.exception.KettleDatabaseException:
Error occured while trying to connect to the database

Exception while loading class
org.gjt.mm.mysql.Driver


原因分析:kettle和mysql两个项目对jdbc封装的包名或者协议不一样
把项目中连接mysql数据库jar包拷贝到AppPath\data-integration\libext\JDBC 重启kettle spoon即可解决。

你可能感兴趣的:(就业指导)