当前位置:网站首页>Use kettle to read the data in Excel file and store it in MySQL
Use kettle to read the data in Excel file and store it in MySQL
2022-07-24 22:20:00 【Bruce Lee hibernation】
Use Kettle Read Excel The data in the file , Storage MySQL in
1、 Information

2、 analysis
This is a conversion program
Input ︰ Read this Excel file
transformation ︰ No conversion is required
Output ∶ Store in MySQL In the table in
- Will connect MySQL Put the tool of Kettle Of lib Directory , It is suggested to put only bin Of jar package


restart Kettledatabase : kettle_demo
create database kettle_demo;
surface : t_user
Give Way Kettle Create by yourself according to the upstream data
3、 Realization
step1 : Build a transformation flowchart
New save

Define input , Output

step2∶ Configuration input
Define the input data



Define fields for output


step3∶ Configure output
- structure MySQL Connect ︰ Address 、 user name 、 password 、 database



If the following error occurs :
Wrong connection to database [kettle_mysql] : org.pentaho.di.core.exception.KettleDatabaseException:
Error occurred while trying to connect to the database
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
org.pentaho.di.core.exception.KettleDatabaseException:
Error occurred while trying to connect to the database
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
terms of settlement :https://blog.csdn.net/qq_54928486/article/details/125849685?spm=1001.2014.3001.5501



step4∶ test run


边栏推荐
- Function default parameter pit avoidance Guide
- Helm —— 强大的 Kubernetes 应用的包管理工具
- Circom 2.0: A Scalable Circuit Compiler
- Monotonic stack structure
- 吾爱第二课-去除网页弹窗
- Gradle 学习 ----Gradle 与Idea整合
- 数据库之-元数据 DatabaseMetaData 初学
- Helm -- a powerful package management tool for kubernetes applications
- Shallow copy deep copy
- 通过企业微信自建应用向微信推送信息
猜你喜欢

Maixll dock QR code recognition

吾爱第二课-去除网页弹窗
![[postgraduate entrance examination English vocabulary training camp] day 11 - offer, form, maintain, critical](/img/49/360222c3528ee527b4ca659b0ec669.png)
[postgraduate entrance examination English vocabulary training camp] day 11 - offer, form, maintain, critical

Description of differences between esp32c3 led PWM use and esp32

一键编译安装redis6.2.4

AVL tree of ordered table

Gradle 学习 ----Gradle 与Idea整合

PCL点云处理之均匀采样抽稀(六十一)
![[icml2022] climate change and machine learning: opportunities, challenges and considerations, 121 ppt](/img/be/6a3f53070c2ffc9610a77d4e910f91.png)
[icml2022] climate change and machine learning: opportunities, challenges and considerations, 121 ppt

单调栈结构练习——子数组最小值的累加和
随机推荐
Principle of an automatic nine point calibration tool (including part of the source code)
Web3安全 Go+Security
Homework of the 20th week
Leetcode 226. flip binary tree
A compatible, smaller and easy-to-use web font API
PCL点云处理之移动最小二乘拟合实验(六十二)
IndexTree
Gradle 学习 ----Gradle 入门
[postgraduate entrance examination English vocabulary training camp] day 11 - offer, form, maintain, critical
DDos攻击分类
工业物联网中的时序数据
Web3 security go + security
General syntax and classification of SQL language (II)
Database - Metadata databasemetadata beginner
Push information to wechat through enterprise wechat self built application
"Paper reproduction" bidaf code implementation process (4) model training + verification
PCL点云处理之pcd文件转txt文件(单个或多个批量转换)(六十三)
Helm -- a powerful package management tool for kubernetes applications
PCL点云处理之直线点集投影规则化(五十六)
Local data enhancement method of icml2022 | graph neural network