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。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM