报错信息:
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即可解决。
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即可解决。
本文详细介绍了在使用Kettle进行数据集成时遇到的无法连接MySQL数据库的问题,通过分析错误信息并拷贝相关JAR包到指定目录,成功解决了连接问题。
6万+

被折叠的 条评论
为什么被折叠?



