You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Activity
danielbachhuber commentedon Sep 8, 2023
I'm open to considering something like this, if someone would like to open a pull request for it.
abhi3315 commentedon Apr 26, 2024
I am taking up this issue.