kettle连接mysql不成功_Kettle连接MySQL数据库出现问题,连接不上的解决方法

在尝试使用Kettle连接到MySQL数据库时遇到错误,问题在于找不到驱动类'org.gjt.mm.mysql.Driver'。解决方案是下载并安装mysql-connector-java-5.1.15-bin.jar,将其放入Kettle的lib目录,然后重启Spoon。
摘要由CSDN通过智能技术生成

使用Kettle连接MySQL数据库,发生了错误,废话不多说,直接上图:

559d687f1fce5daf05e44111f99b6966.png

错误信息:

错误连接数据库 [tcc] : 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

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

at org.pentaho.di.core.database.Database.normalConnect(Database.Java:428)

at org.pentaho.di.core.database.Database.connect(Database.java:358)

at org.pentaho.di.core.database.Database.connect(Database.java:311)

at org.pentaho.di.core.database.Database.connect(Database.java:301)

at org.pentaho.di.core.database.DatabaseFactory.getConnectionTestReport(DatabaseFactory.java:80)

at org.pentaho.di.core.database.DatabaseMeta.testConnection(DatabaseMeta.java:2686)

at org.pentaho.ui.database.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值