变色龙chameleon迁移MySQL数据到openGauss显示表名区分大小写不一致:MainProcess ERROR mysql_lib.py (304): The param lower_ca

执行

chameleon init_replica --config default --source mysql

报错:2024-05-07 10:22:21.874 MainProcess ERROR mysql_lib.py (304): The param lower_case_table_names=0 in MySQL and the param dolphin.lower_case_table_names=1 in openGauss are inconsistent, the migration exit. 0: case sensitive, 1: case insensitive, please set the same value.

在open Gauss安装目录下的data/single_node/postgresql.conf文件,vim该文件,将以下代码加到该文件末尾:(然后重启openGauss,重新执行chameleon)

dolphin.lower_case_table_names=0

  • 10
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值