已开启
feat: add mysql-connector-python compatibility test for openGauss dolphin plugin #107
feat: add mysql-connector-python compatibility test for openGauss dolphin plugin #107
已开启
liuhaodong-2026创建于 19 天前
19 天前

【标题】Add mysql-connector-python compatibility test for openGauss dolphin plugin

【实现内容】:
新增 mysql-connector-python 连接 openGauss B 兼容模式数据库的兼容性测试代码及自测报告,位于 MysqlConnectorCompatibility/ 目录。

【根因分析】:
现有 examples 仓库缺少 mysql-connector-python 驱动的兼容性验证,开发者无法了解该驱动连接 openGauss dolphin 插件的可行性及所需配置。

【实现方案】:
编写覆盖 18 个测试场景的测试脚本,发现并记录 3 个兼容性问题(collation 不支持、C 扩展认证失败、反斜杠转义不兼容),提供解决方案,全部测试通过(18/18)。

【关联需求或issue】: /

【开发自验报告】:

  1. 已在 openGauss 7.0.0-RC3 + dolphin 插件环境验证,18 项测试全部通过,详见 self_test_report_connector.md。
  2. 不涉及 fastcheck 测试用例。
  3. 涉及资料修改,已在 docs 仓库补充开发指导文档(单独 PR)。
  4. 不涉及升级场景。
  5. 不涉及在线扩容等扩展场景。
  6. 不涉及异常/并发/前向兼容/性能场景。
  7. 不对其他模块产生影响。
  8. 不需要回合补丁版本。
  9. 不涉及 DOLPHIN 宏。

【当前PR是否有AI参与】:
[x] 否

likedislike
合并受阻
Lliuhaodong-2026
19 天前 创建了 pull request,commit d9de07bb
opengauss_botopengauss_bot成员
19 天前 添加了label:sig/Infra
opengauss_bot
opengauss_bot成员
19 天前 评论:

Welcome To openGauss Community

Hey @liuhaodong-2026 , thanks for your contribution to the community.

Bot Usage Manual

I'm the Bot here serving you. You can find the instructions on how to interact with me at Here . That means you can comment below every pull request or issue to trigger Bot Commands.

Contact Guide

If you have any questions, please contact the SIG: Infra ,
and any of the maintainers: @CarrotGo, @chendong76, @chenxiaobin19, @congzhou2603, @dodders, @hwworkholic, @jemappellehc, @muyulinzhong, @quemingjian, @shenzheng4, @shirley_zhengx, @superlchf, @totaj, @wlff234, @wofanzheng, @ywzq1161327784 ,
and any of the committers: @ailoooong, @gzbang, @libiao2024, @zhangxubo .

likedislike
opengauss_botopengauss_bot成员
19 天前 添加了label:stat/needs-squash
opengauss_botopengauss_bot成员
19 天前 添加了label:opengauss-cla/yes
opengauss_bot
opengauss_bot成员
19 天前 评论:

CLA Signature Pass

liuhaodong-2026, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
Lliuhaodong-2026
18 天前 修改了pull request 的描述
opengauss_botopengauss_bot成员
18 天前 添加了label:ai-co-authored
opengauss_botopengauss_bot成员
18 天前 添加了label:ai-includes-code
opengauss_bot
opengauss_bot成员
18 天前 评论:

AI Declaration Check Failed

@liuhaodong-2026, AI declaration compliance check failed, please try again later. ❌

likedislike
Lliuhaodong-2026
12 天前 修改了pull request 的描述
opengauss_botopengauss_bot成员
12 天前 删除了label:ai-co-authoredai-includes-code