Kettle建立数据库链接报错-'MS SQL Server' driver (jar file) is installed. kettle的bug,对于12.2而言

1、链接sql server数据库报错

错误连接数据库 [My_vm_win_sql] : org.pentaho.di.core.exception.KettleDatabaseException:
Error occurred while trying to connect to the database

Driver class 'net.sourceforge.jtds.jdbc.Driver' could not be found, make sure the 'MS SQL Server' driver (jar file) is installed.
net.sourceforge.jtds.jdbc.Driver

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

2、缺少sql驱动

oracle:ojdbc7.jar :  支持 12c.1   http://www.oracle.com/technetwork/database/features/jdbc/default-2280470.html

ojdbc8.jar : 12.2  http://www.oracle.com/technetwork/database/features/jdbc/jdbc-ucp-122-3110062.html

ojdbc6 :http://vdisk.weibo.com/s/z8ZZMoqsgpNFH

SqlServer可以直接搜索 sqljdbc.jar 官方下载   https://www.microsoft.com/en-us/download/details.aspx?id=11774

3、将下好的驱动文件放入到kettle目录中的lib文佳佳中,并重启kettle

4、12c的插件数据库,如果容器数据库为orcl,插件数据库为orclpdb

那么如下填写错误,将不能链接插件数据库:

Kettle建立数据库链接报错-'MS SQL Server' driver (jar file) is installed. kettle的bug,对于12.2而言

特征列表的URL为:jdbc:oracle:thin:@localhost:1521:orclpdb

用cmd验证如下:Kettle建立数据库链接报错-'MS SQL Server' driver (jar file) is installed. kettle的bug,对于12.2而言

Kettle建立数据库链接报错-'MS SQL Server' driver (jar file) is installed. kettle的bug,对于12.2而言

正确登录:

Kettle建立数据库链接报错-'MS SQL Server' driver (jar file) is installed. kettle的bug,对于12.2而言

只因为一个是/ 一个是:,故此定性为bug。

有朝一日同风起,扶摇直上九万里
上一篇:git submodule的操作


下一篇:OneAPM x 腾讯 | OneAPM 技术公开课·深圳 报名:前端性能大作战!