auto: sync OpenClaw config 2026-07-28 14:00
This commit is contained in:
@@ -3,11 +3,17 @@
|
||||
Skills define _how_ tools work. This file is for _your_ specifics — the stuff that's unique to your setup: camera names and locations, SSH hosts and aliases, preferred TTS voices, speaker/room names, device nicknames, anything environment-specific.
|
||||
|
||||
### MySQL 连接
|
||||
- **默认 → VPS**: `101.34.227.188:3306` / root / 5gynj20J(主服务器,`dmp_smdm`、`dmp_serp`、`dmp_smes`)
|
||||
- **本地 Docker**: `docker exec mysql mysql -u root -p"${MYSQL_PWD_SQL}" -D dmp_serp`
|
||||
- **vps**: `101.34.227.188:3306` / root / 5gynj20J(主服务器,库:dmp_smdm、dmp_serp、dmp_smes)
|
||||
- **备用机**: `100.115.195.191:3306` / root / 5gynj20J(库:dmp_smdm、dmp_serp、dmp_smes 等)
|
||||
- **密码环境变量**: `MYSQL_PWD_SQL=5gynj20J`(来自 .env)
|
||||
- ⚠️ **优先使用本地 mysql 客户端直接连接**,不要每次都用 `docker exec`。
|
||||
- ⚠️ **默认数据库连接串**: `mysql -h 101.34.227.188 -u root -p"${MYSQL_PWD_SQL}"`
|
||||
|
||||
**默认规则(AGENTS + 技能):**
|
||||
- 未指定环境时,默认连接 VPS(101.34.227.188)
|
||||
- 脚本表名必须带库前缀(`dmp_xxx.table`),因为 VPS 上多库共存
|
||||
- 如果操作只涉及本地库(如无 VPS 权限的测试),需明确切换
|
||||
|
||||
## Examples
|
||||
|
||||
|
||||
Reference in New Issue
Block a user