当前位置: 首页 > 工具软件 > MySQL Syncer > 使用案例 >

zabbix6.2.3系统数据库从Mysql迁移至PostgreSQL数据库(四)zabbix系统数据从Mysql转入PostgreSQL

楚俊迈
2023-12-01

前三节我们已经完成了一台全新基于postgresql14数据库的zabbix6.2.3服务器的构建,本节正式进行现网zabbix数据从mysql转入PostgreSQL的操作。

本节需要配置一台centos7/redhat7的中间服务器,因为转换工具pgloader目录只找到el7的版本。

该服务器还需打通到现网zabbix6.2.3的mysql服务器和新建postgresql14数据库的网络。

1、在pgloader服务器上进行数据转换工具的安装

工具下载地址:https://download.postgresql.org/pub/repos/yum/common/redhat/rhel-7.9-x86_64/pgloader-3.6.2-1.rhel7.x86_64.rpm

[root@localhost opt]# yum install pgloader-3.6.2-1.rhel7.x86_64.rpm 
...
Installed:
  pgloader.x86_64 0:3.6.2-1.rhel7                                                                                                      

Dependency Installed:
  keyutils-libs-devel.x86_64 0:1.5.8-3.el7      krb5-devel.x86_64 0:1.15.
 类似资料: