You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

68 lines
1.5 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

Mariadb 通过小猫连接办法:
www.wmarkj.com
port:26062
Postgresql 通过小猫连接办法:
www.wmarkj.com
port:27028
云平台数据库:
[mysql]
ip = 10.10.2.3
port = 22066
database = dsideal_db
user = root
pwd = DsideaL147258369
GP数据库
[greenplum]
ip = 127.0.0.1
port = 5432
database = dsideal_db_8da
user = postgres
pwd = DsideaL147258369
enable = 1
--------------------------------------------------------------------------------------------
#华为云 八大中心服务器
IP49.4.68.82 , SSH:5022 root : DsIdeal@123
# 添加Mariadb Client仓库
curl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash
#  安装 
yum install MariaDB-client -y
#  登录到服务器
mysql -h10.10.2.3 -pDsideaL147258369 -P22066
# 查看配置情况
show variables like '%binlog_row_image%';
+------------------+-------+
| Variable_name | Value |
+------------------+-------+
| binlog_row_image | FULL |
+------------------+-------+
1 row in set (0.002 sec)
show variables like '%binlog_format%';
+----------------------------+-------+
| Variable_name | Value |
+----------------------------+-------+
| binlog_format | ROW |
| wsrep_forced_binlog_format | NONE |
+----------------------------+-------+
2 rows in set (0.002 sec)
wget https://github.com/aliyun/rds_dbsync/files/1555186/mysql2pgsql.bin.el7.20171213.zip
unzip mysql2pgsql.bin.el7.20171213.zip
mv mysql2pgsql.bin.el7.20171213 /usr/local/dbsync