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。

  • 相关阅读:
    Java自学笔记(21):【IO】数据流,标准输入输出
    makefile 学习笔记
    tensorflow 环境搭建
    matlab
    【转】MATLAB各种矩阵生成函数
    leetcode刷题收获
    leetcode 15. 3Sum
    STL 记录
    leetcode 服务器环境
    visual studio 2017 使用笔记
  • 原文地址:https://www.cnblogs.com/wind-man/p/7876030.html
Copyright © 2011-2022 走看看