change_mysql_password
Description
Changes the password of the MySQL database.
Usage
Parameter | Description | Example |
---|---|---|
--root-password ROOT_PASSWORD, -root ROOT_PASSWORD | The original root password of the MySQL database. | zstack-ctl change_mysql_password
--root-password oldpswd |
--user-name USER_NAME, -user USER_NAME | The username whose password to be changed. | zstack-ctl change_mysql_password
--user-name root |
--new-password NEW_PASSWORD, -new NEW_PASSWORD | The new password. | zstack-ctl change_mysql_password
--new-password newpswd |
--remote-ip REMOTE_IP, -ip REMOTE_IP | The remote IP address to be set if you need to change the password of a remote database. | zstack-ctl change_mysql_password
--remote-ip 10.0.0.2 |