zoukankan      html  css  js  c++  java
  • 一、kettle安装及建立数据库连接

    1、下载pdi-ce-9.0.0.0-423.zip并解压

    2、windows下运行Spoon.bat

    3、界面如下

    4、转换上右键-新建-保存,另存为,然后关闭再打开就是打开的新建的文件

    5、DB连接-新建

    出现问题如下:

    Driver class 'org.gjt.mm.mysql.Driver' could not be found, make sure the 'MySQL' driver (jar file) is installed. org.gjt.mm.mysql.Driver

    百度缺少mysql驱动包,我的mysql版本是8.0.21,下载了mysql-connector-java-8.0.21.jar加入到lib文件夹下,然而不管用,又搜索,加入下列驱动包就可以了

    mysql-connector-java-5.1.48-bin.jar

    6、连接成功

    7、连接ms sql,同样出现没有驱动的错误

    Driver class 'com.microsoft.sqlserver.jdbc.SQLServerDriver' could not be found, make sure the 'MS SQL Server (Native)' driver (jar file) is installed.
    com.microsoft.sqlserver.jdbc.SQLServerDriver

    下载 Microsoft SQL Server JDBC 驱动程序

    https://docs.microsoft.com/zh-cn/sql/connect/jdbc/download-microsoft-jdbc-driver-for-sql-server?view=sql-server-2017

    8、mssql-jdbc-9.2.1.jre8.jar将此jar包放入lib目录下,连接成功

  • 相关阅读:
    while 循环及 break,continue语句
    Binary Search Tree BST Template
    Largest Rectangle in Histogram 解答
    Increasing/ Decreasing Stack
    Stack
    Queue
    Find the largest multiple of 3 解答
    Check whether a given Binary Tree is Complete or not 解答
    Sliding Window Maximum 解答
    Wiggle Sort 解答
  • 原文地址:https://www.cnblogs.com/zkwarrior/p/14840471.html
Copyright © 2011-2022 走看看