1.kettle安装2.将kettle连接mysql的包放入lib文件目录3.修改data-integration\simple-jndi路径下的jdbc.properties配置文件,加上如下内容(kettle为数据库名称,MYSQL8_DB为JNDI名称):
** kettle安装下载地址:** jdk8安装配置 下载地址: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
官网地址: https://community.hitachivantara.com/s/article/data-integration-kettle
下载地址: https://sourceforge.net/projects/pentaho/files/ 双击Spoon.bat,启动图形化界面工具即可使用
mysql版本为8以前,需要将mysql-connector-java-5.1.34-bin.jar放在kettle的lib文件夹中 然后根据图示进行连接: mysql版本为8,则需要先找到 data-integration\simple-jndi\jdbc.properties 文件 编辑,在末尾加上连接信息:MYSQL8_DB/type=javax.sql.DataSourceMYSQL8_DB/driver=com.mysql.cj.jdbc.DriverMYSQL8_DB/url=jdbc:mysql://localhost:3306/xxxx?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=GMTMYSQL8_DB/user=rootMYSQL8_DB/password=xxxxx