Submitted by martlam on Mon, 10/27/2014 - 17:18
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
Submitted by JamieCameron on Mon, 10/27/2014 - 17:22 Comment #1
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
Submitted by martlam on Mon, 10/27/2014 - 17:42 Comment #2
Thanks!
Also, I found that you can obtain the database password for mysql by using:
https://example.com:10000/virtual-server/remote.cgi?program=list-domains...
The current password is found under this key.
password_for_mysql
Submitted by Issues on Mon, 11/10/2014 - 16:46 Comment #3
Automatically closed -- issue fixed for 2 weeks with no activity.