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
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目录下,连接成功