zoukankan      html  css  js  c++  java
  • 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

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

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

    用cmd验证如下:

    正确登录:

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

  • 相关阅读:
    spring cloud网关gateway
    maven将依赖第三方包打包(package)到jar中
    spring boot创建多模块聚合工程
    spring cloud服务间调用feign
    取模和取余的区别
    实现多线程编程的三种方式
    打开eclipse编译后的.class文件
    对中断interrupt的理解
    对final和static的理解
    对synchronized的一点理解
  • 原文地址:https://www.cnblogs.com/wind-man/p/7876030.html
Copyright © 2011-2022 走看看