You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "Harry33t (via GitHub)" <gi...@apache.org> on 2026/05/04 13:10:54 UTC
[PR] docs(apisix): 从快速开始里去掉 MySQL,说明 Derby 默认配置 (#1087) [dubbo-go-samples]
Harry33t opened a new pull request, #1101:
URL: https://github.com/apache/dubbo-go-samples/pull/1101
## 问题
`nacos2.0.3-compose/docker-compose.yml` 里设置的是 `SPRING_DATASOURCE_PLATFORM=derby`,MySQL
相关环境变量都是注释状态。所以在示例的运行路径下,Nacos 用的是**内嵌 Derby**,**完全不连 MySQL**。
但 README 仍然让用户:
```bash
# 启动 MySQL (Nacos 的数据库)
cd ../mysql5.7-compose
docker compose up -d
sleep 10
```
带来两个问题:
- 用户白拉 MySQL 镜像、白等启动时间,拖慢上手流程
- 文档让你启 MySQL,但实际配置又用 Derby,新人看了会困惑
## 修复
中英文 README 同步更新(**不动代码、不动 compose 文件**):
- 把快速开始里的 MySQL 启动步骤和对应的 `sleep 10` 移除,让步骤跟配置实际所需的服务一致(etcd + Nacos + APISIX)
- 加一段说明,解释 Nacos 用内嵌 Derby、`mysql5.7-compose` 目录保留作为生产级配置的参考,以及如何按需启用(启 MySQL + 取消 Nacos compose 里 MySQL
环境变量的注释)
`mysql5.7-compose` 目录保留,希望用持久化存储的用户仍可使用。
Closes #1087
---
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
Re: [PR] docs(apisix): 从快速开始里去掉 MySQL,说明 Derby 默认配置 (#1087) [dubbo-go-samples]
Posted by "Alanxtl (via GitHub)" <gi...@apache.org>.
Alanxtl merged PR #1101:
URL: https://github.com/apache/dubbo-go-samples/pull/1101
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
Re: [PR] docs(apisix): 从快速开始里去掉 MySQL,说明 Derby 默认配置 (#1087) [dubbo-go-samples]
Posted by "Alanxtl (via GitHub)" <gi...@apache.org>.
Alanxtl commented on PR #1101:
URL: https://github.com/apache/dubbo-go-samples/pull/1101#issuecomment-4378575612
merge to main to fix ci fail
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org