kettle连接openGauss 5.0.0 数据库

5bd986ae-174d-4f1e-88a3-ec7a27e6beb2.gif

前言

Kettle最早是一个开源的ETL工具,全称为KDE Extraction, Transportation, Transformation and Loading Environment。Pentaho Data Integration以Java开发,支持跨平台运行,其特性包括:支持100%无编码、拖拽方式开发ETL数据管道;可对接包括传统数据库、文件、大数据平台、接口、流数据等数据源;支持ETL数据管道加入机器学习算法。

一、openGuass 5.0.0 的安装

1、openGauss 5.0.0 安装

《基于openEuler 22.03LTS 安装 单机openGauss 5.0.0企业版数据库》

2、openGauss 3.1.0 安装

《手把手教你安装openGauss 3.1.0》:https://www.modb.pro/db/545504

二、kettle的安装

2.1、下载

下载pdi-ce-9.4.0.0-343.zip

社区版下载地址:https://www.hitachivantara.com/en-us/products/pentaho-platform/data-integration-analytics/pentaho-community-edition.html

d8b49270-5710-47f1-b50b-8a31a33be16c.jpg

官方文档地址:https://www.hitachivantara.com/en-us/pdf/implementation-guide/three-steps-to-install-pentaho-data-integration-ce.pdf

2.2、安装kettle

操作系统:centos7.9

2.2.1 先决条件

需要64位 Java SE 版本 jave SE 11到18都可以 对于 Linux/Ubuntu 安装,还需要安装 libwebkitgtk-1.0-0 才能使 PDI 正常运行。

安装一些依赖包

yum -y install epel-release
yum -y install webkitgtk
yum -y install redhat-lsb

下载安装xulrunner:https://www.modb.pro/doc/112883

mkdir /root/xulrunner
tar jxvf xulrunner-1.9.2.28pre.en-US.linux-x86_64.tar.bz2
cd xulrunner
./xulrunner -register-global

2.2.2 解压安装包

创建目录并解压

mkdir /root/kettle
unzip pdi-ce-9.4.0.0-343.zip -d /root/kettle
查看文件

cac6a78d-49f5-422a-9872-ff3adf108569.png

启动kettle
到图形化界面下执行

cd /root/kettle/data-integration
./kitchen.sh
./spoon.sh &

启动过程

0a734e37-f111-49a5-9287-f5adba507ec0.png

启动完成

c6a0bfec-f5ad-468d-bf5e-de7b47333601.png

三、配置连接

3.1 下载jar包

openGauss jar包下载地址:https://opengauss.org/zh/download/
86d5d664-4d2b-443e-b878-15f2fc5248be.jpg
把openGauss-5.0.0-JDBC.tar.gz解压到data-integration/lib下面

3.2 添加配置

在data-integration/simple-jndi/jdbc.properties加入以下内容

##openGauss
postgres/type=javax.sql.DataSource
postgres/driver=org.opengauss.Driver
postgres/url=jdbc:opengauss://192.168.10.10:15400/postgres
postgres/user=qmttest
postgres/password=qoqoqooq

3.3 在图形化中配置

点击connect

2c78962c-b189-40fb-866d-3d89f300f9f3.png

点击Repository Manager

600a84af-f749-43c1-bb6d-548810e4ae91.png


点击 Add

点击 Database Repository

填写display name

点击 Create

eef253a1-55fe-4963-9eda-174921e566f3.png

填写下面内容

675a6008-cf71-453b-bced-08cef2c68cf0.png

点击测试 59911bb7-23c5-49cf-b524-368db1f7b879.png

连接成功

后面依次点击确认和save

3.4 连接openGauss数据库

点击 connect 、然后选择刚才创建的名称

81730ebe-c93b-4c4f-a39a-bc7612871333.png

输入默认用户密码 :admin/ admin

◆ 往期 推荐◆




09e56f34-a46c-4af5-b12f-3bf336055566.jpg

Navicat连接openGauss 5.0.0 企业版数据库


本文分享自微信公众号 - openGauss(openGauss)。
如有侵权,请联系 support@oschina.cn 删除。
本文参与“ OSC源创计划 ”,欢迎正在阅读的你也加入,一起分享。

  • 4
    点赞
  • 10
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

openGauss社区

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值