Modify mysql password via API

Howdy!

I'm unable to locate a method which would allow setting the mysql password via the API.

Is it possible?

Unless this also changes the mysql db password?

virtualmin modify-user --user USERNAME --pass NEW_PASSWORD

Thanks,

Martin

Status: 
Closed (fixed)

Comments

You can use the API to set just the MySQL password with a command like :

virtualmin modify-database-pass --domain example.com --type mysql --pass new-password

Automatically closed -- issue fixed for 2 weeks with no activity.