93400b7793
Step 2 only TCP-probes host Redis without blocking the wizard; step 4 runs /connection-check on MySQL and Redis from .env before creating the admin account. Co-authored-by: Cursor <cursoragent@cursor.com>
593 B
593 B
2026-06-05 — 安装向导 Redis/MySQL 检测分步
摘要
- 步骤 2:Redis 仅 TCP 检测宿主机是否已安装(
host.docker.internal:6379),不阻塞进入步骤 3 - 步骤 4:新增
GET /api/install/connection-check,验证.env中 MySQL + Redis 真实连接 - 创建管理员前须通过步骤 4 连接检测
涉及文件
server/api/install.pyweb/app/install.html
验证
- 步骤 2:Redis 未装仍可进步骤 3;已装显示绿色
- 步骤 3 完成后步骤 4 自动检测 MySQL/Redis
- 连接失败时「创建账号」按钮禁用