kettle连接sqlserver连不上报异常解决

kettlesql 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

====原因是缺少sql驱动

 1、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

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

连接后成功如图所示

kettle连接sqlserver连不上报异常解决

猜你喜欢

转载自blog.51cto.com/10592760/2133182