在使用 kettle 时,报错如下

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.Driverat org.pentaho.di.core.database.Database.normalConnect(Database.java:497)at org.pentaho.di.core.database.Database.connect(Database.java:389)at org.pentaho.di.core.database.Database.connect(Database.java:360)at org.pentaho.di.core.database.Database.connect(Database.java:350)at org.pentaho.di.core.database.DatabaseFactory.getConnectionTestReport(DatabaseFactory.java:85)at org.pentaho.di.core.database.DatabaseFactory.getConnectionTestResults(DatabaseFactory.java:115)at org.pentaho.di.core.database.DatabaseMeta.testConnectionSuccess(DatabaseMeta.java:2859)at org.pentaho.ui.database.event.DataHandler.testDatabaseConnection(DataHandler.java:659)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method).............

这是因为 kettle 缺少MySQL数据库连接的驱动 jar 包所致。

解决方法

下载 mysql-connector-java,官网下载地址:https://mvnrepository.com/artifact/mysql/mysql-connector-java

然后把这个包放在软件目录的 \data-integration\lib 下

重启kettle即可

kettle报错 Driver class ‘org.gjt.mm.mysql.Driver‘ could not be found, make sure the ‘MySQL‘ driver相关推荐

  1. Kettle安装完报错:Driver class org.gjt.mm.mysql.Driver could not be found

    今天安装Kettle使用,下载解压到本地后双击Spoon.bat 打开应用 首先测试连接Mysql,但是报错,这时候知道他没有需要的Connection包,到Mysql官网下载后,这里我的Mysql是 ...

  2. 数据库迁移工具Kettle连接Mysql数据库报错:Driver class ‘org.gjt.mm.mysql.Driver‘ could not be found, make sure the解决

    报错信息: 错误连接数据库 [test] : org.pentaho.di.core.exception.KettleDatabaseException: Error occurred while t ...

  3. Kettle链接MySQL报错:Driver class 'org.gjt.mm.mysql.Driver' could not be found

    第一次用Kettle连接MySQL数据库时,报下面错误, 错误信息, 错误连接数据库 [mysqllocal] : org.pentaho.di.core.exception.KettleDataba ...

  4. Kettle连接MySQL数据库报错:Driver class ‘org.gjt.mm.mysql.Driver‘ could not be found

    错误信息: Driver class 'org.gjt.mm.mysql.Driver' could not be found 解决办法: 将驱动jar包,放在安装目录 \lib 目录下,重启工具Ok

  5. Kettle连接mysql 驱动报 Driver class ‘org.gjt.mm.mysql.Driver‘ could not be found, make sure the ‘MySQL‘..

    项目场景: 我准备把mongodb数据库导入到mysql中 问题描述 kettle连接mysql,点击浏览报 Driver class 'org.gjt.mm.mysql.Driver' could ...

  6. Kettle PDI工具连接Mysql时报Driver class ‘org.gjt.mm.mysql.Driver‘ could not be found, make sure the ‘MySQL

    具体报错如下: org.pentaho.di.core.exception.KettleDatabaseException: Error occurred while trying to connec ...

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

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

  8. Kettle连接Mysql报错:Driver class org.gjt.mm.mysql.Driver could not be found

    今天使用kettle连接mysql时,报错,这时知道它是没有需要的connector包,就在Mysql官网下载了对应我Mysql-8.0.22的connector-8.22的jar包,并将其放在如下图 ...

  9. 【转载】com.mysql.jdbc.Driver 与 org.gjt.mm.mysql.Driver的区别

    引用: https://www.cnblogs.com/JimKing/p/9032272.html https://www.cnblogs.com/wqbin/p/12629580.html 1 引 ...

最新文章

  1. C++作用域 (二)
  2. shell截取小数等
  3. JeeSite 4.0 说说前端的那些事
  4. C语言--在终端输入多行信息,找出包含“ould”的行,并打印改行
  5. 框架写mysql插入为空_学习springMVC框架配置遇到的问题-数据写入不进数据库时的处理办法...
  6. JSF 2,PrimeFaces 3,Spring 3和Hibernate 4集成项目
  7. java 如何捕获线程中的异常处理_如何捕获Java中另一个线程抛出的异常?
  8. ❤️《Mybatis从基础到高级》(建议收藏)❤️
  9. struts2 global-results
  10. mysql+join+合计_图解MySQL里的各种 JOIN,看完不懂来找我!
  11. 访问量中 pv uv ip的区别
  12. linux下sqlite3的使用
  13. (Windbg调试一)minidump崩溃捕捉
  14. android电源管理白名单,刷BIOS工具分享(白名单,高级菜单,电源管理
  15. Mac 系统文件占用内存过大怎么办?
  16. 搭建一个网站步骤 制作网页完整步骤
  17. EOS代码架构及分析(二)
  18. Zabbix-agent部署
  19. google::protobuf::Closure::Run
  20. SAXReader saxReader = new SAXReader();来解析xml文件

热门文章

  1. ucore lab1 任务六
  2. 土法炼钢:怎么实现一个简单的B+Tree In-Disk
  3. 麒麟9000加鸿蒙,首发预装鸿蒙OS!华为Mate40 Pro 4G版入网:麒麟9000加持
  4. 应用NMOS和晶体三极管作为基本开关管的相关知识
  5. android+清除循环动画,android自定义View之(4)-一键清除动画
  6. RuntimeError: mat1 and mat2 shapes cannot be multiplied (192x64 and 4x3)
  7. css圣杯布局与双飞翼布局_CSS布局研讨会已于2018年更新
  8. VBA实现 Excel自动填充
  9. python添加图片要怎么弄_python怎么实现添加图片
  10. matplotlib中的imshow()绘图长宽比例失调,调整长宽比(备忘)