modify-database-pass

Changes the MySQL or PostgreSQL password for some domain.

This command changes the password that a domain's administrator uses to login to MySQL or PostgreSQL. The domain is selected with the --domain flag, the database type with --type and the new password is set with the --pass flag.

Because this operation will change the actual MySQL or PostgreSQL password, any application or scripts in the virtual server's directory that have the database password in their configuration files will be broken until those configurations are updated with the new username.

Command Line Help

virtualmin modify-database-pass --domain name
                                --type mysql|postgres
                                --user new-name