Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce wp db users #138

Open
tomvoss opened this issue Apr 15, 2019 · 2 comments
Open

Introduce wp db users #138

tomvoss opened this issue Apr 15, 2019 · 2 comments

Comments

@tomvoss
Copy link

tomvoss commented Apr 15, 2019

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.

@danielbachhuber
Copy link
Member

I'm open to considering something like this, if someone would like to open a pull request for it.

@abhi3315
Copy link

I am taking up this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants