Kettle连接数据库[MySQL]报错

在连接数据库页面填写完成后点击“测试”

Kettle连接数据库[MySQL]报错_第1张图片

报错信息:

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

缺少数据库连接jar包,需要到官网下载jar包

 下载连接:MySQL :: Download MySQL Connector/J (Archived Versions)

Kettle连接数据库[MySQL]报错_第2张图片

高版本可能不匹配,因此直接下载较低版本,这里下载的是5.1.48

把jar包放入lib下,重启Spoon后再进行连接即可

Kettle连接数据库[MySQL]报错_第3张图片

你可能感兴趣的:(数据库,mysql)