已开启
【实习#34】新增 Django 经 MySQL 协议连接 openGauss B 库示例与自测 #103
【实习#34】新增 Django 经 MySQL 协议连接 openGauss B 库示例与自测 #103
已开启
Yhw050920创建于 8月5日
Yhw050920
Yhw050920
8月5日

关联 Issue

https://gitcode.com/opengauss/opensource-intership/issues/34

对应开源实习任务:[开源实习] openGauss B库B协议适配MySQL python orm框架 Django #34(20 分)。

背景与目标

openGauss 通过 dolphin 插件提供 MySQL 协议兼容。本 PR 新增 Django + PyMySQL 示例工程,验证经 dolphin 连接 openGauss B 兼容模式数据库的 ORM CRUD。

变更说明

  1. 新增 DjangoConnectOpenGaussB/opengauss_mysql Backend,规避 28804)
  2. doc/设计文档.mddocs/自测报告.mddocs/测试思维导图.*
  3. 密码仅环境变量注入;验收截图仅在本 PR 描述展示(已脱敏,不入库)

测试环境

OS openEuler 20.03 LTS x86_64
DB openGauss 7.0.0-LTS.B008(build 75f983eb
协议 dolphin MySQL,端口 3308
客户端 Django 5.0.14 + PyMySQL

验收截图(已脱敏)

1. openGauss 版本与运行状态

openGauss 版本与运行状态

2. Django 安装检查(INSTALL_OK)

Django INSTALL_OK

3. Django CRUD Demo(DEMO_OK)

Django DEMO_OK

4. GUC 兼容桩 + 原生 Backend(截图 11)

GUC stubs and native engine

5. 原生 Django DEMO_OK(截图 22)

Native Django DEMO_OK

配套 PR


当前PR是否有AI参与:

希望检视人员了解:

  1. 代码由AI辅助开发者编写,且开发者已人工逐行核对逻辑、校验功能正确性,且与开发者预期一致;
  2. Commit 声明与本描述一致:Assisted-by: Cursor/Auto
  3. 已签署 CLA;敏感信息已脱敏;设计文档已提交
  4. 关联 Issue: https://gitcode.com/opengauss/opensource-intership/issues/34
likedislike
合并受阻
Yhw050920Yhw050920
8月5日 创建了 pull request,commit 4f615434
opengauss_botopengauss_bot成员
8月5日 添加了label:sig/Infra
opengauss_bot
opengauss_bot成员
8月5日 评论:

Welcome To openGauss Community

Hey @hongwei-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成员
8月5日 添加了label:stat/needs-squash
opengauss_botopengauss_bot成员
8月5日 添加了label:opengauss-cla/no
此处折叠了110条消息 查看更多
Yhw050920Yhw050920
2 天前 update merge request[project id: 5089494, iid: 103, commit_id: 2603b6c17773682b06f93a56a45424a5a30560b4] virtual merging success
opengauss_botopengauss_bot成员
2 天前 删除了label:opengauss-cla/yes
opengauss_botopengauss_bot成员
2 天前 添加了label:opengauss-cla/yes
opengauss_bot
opengauss_bot成员
2 天前 评论:

CLA Signature Pass

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

likedislike
opengauss_bot
opengauss_bot成员
2 天前 评论:

AI Declaration Check Failed

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

likedislike