1.將kettle連接mysql的包放入lib文件目錄
2.修改data-integration\simple-jndi路徑下的jdbc.properties配置文件,加上如下內容(kettle為數據庫名稱,MYSQL8_DB為JNDI名稱):
MYSQL8_DB/type=javax.sql.DataSource
MYSQL8_DB/driver=com.mysql.cj.jdbc.Driver
MYSQL8_DB/url=jdbc:mysql://localhost:3306/kettle?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=GMT
MYSQL8_DB/user=root
MYSQL8_DB/password=root
3.填寫如下內容
4.測試: