Introduce `wp db users`
@swissspidy 已经在做这个了。
开始于 2026年1月19日。
评估
这个 Issue 还没有评估数据。
描述
One of the most common tasks database administrators need to do is create user accounts for applications with full privileges to the application's database. I propose that we make that super simple in wp-cli using syntax similar to:
wp db users create --user --host --pass --privilegeduser --privilegedpass
Name of the database user to create.
Hosts that are permitted to connect as .
New user's password.
Database user with sufficient privileges to execute the command.
Privileged user's password.
This create command could be augmented by including list, delete, etc.
- 主要语言
- PHP
- 星标
- 76
- 派生
- 73
- 平均合并
- 9 小时 31 分钟
- 30 天内合并 PR
- 2
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
wp-cli/db-command 的其他 Issue
-
command:db-size scope:documentation
难度 3/5 1-2 天 新手友好度 65/100
wp-cli/db-command#348 · 1 条评论 ·
-
bug command:db-query
wp-cli/db-command#319 · 5 条评论 · 1 个 reaction · 已指派 2 人 ·
-
command:db scope:distribution state:unconfirmed
wp-cli/db-command#306 · 5 条评论 · 1 个 reaction · 已指派 2 人 ·
-
bug command:db-export
难度 3/5 1-2 天 新手友好度 45/100
wp-cli/db-command#289 · 2 条评论 ·
-
command:db-export command:db-import scope:distribution state:unconfirmed
难度 5/5 一周以上 新手友好度 25/100
wp-cli/db-command#327 · 8 条评论 · 2 个 reaction ·
查看 wp-cli/db-command 的全部 Issue
相似的 Issue
-
priority: p3
难度 2/5 1-3 小时 新手友好度 72/100
googleapis/librarian#7636 ·
-
0. Needs triage bug
难度 2/5 1-3 小时 新手友好度 78/100
nextcloud/fulltextsearch#1011 ·
-
难度 2/5 1-3 小时 新手友好度 84/100
-
难度 2/5 1-3 小时 新手友好度 78/100
phpstan/phpstan-doctrine#794 ·
-
难度 2/5 1-3 小时 新手友好度 74/100
Automattic/static-site-importer#1767 ·