Merge lp://qastaging/~freyes/charm-helpers/add-set-mysql-password into lp://qastaging/charm-helpers
Proposed by
Felipe Reyes
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 760 | ||||
Proposed branch: | lp://qastaging/~freyes/charm-helpers/add-set-mysql-password | ||||
Merge into: | lp://qastaging/charm-helpers | ||||
Diff against target: |
220 lines (+178/-0) 2 files modified
charmhelpers/contrib/database/mysql.py (+75/-0) tests/contrib/database/test_mysql.py (+103/-0) |
||||
To merge this branch: | bzr merge lp://qastaging/~freyes/charm-helpers/add-set-mysql-password | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Billy Olsen | Needs Fixing | ||
Jorge Niedbalski (community) | Approve | ||
Mario Splivalo (community) | Approve | ||
MySQL Charm Maintainers | Pending | ||
Review via email: mp+325876@code.qastaging.launchpad.net |
Description of the change
Add support to change a user's password in MySQL
Add set_mysql_
the database runs an UPDATE on the mysql.user table, then connects again
using the new password an runs a "SELECT 1;" to make sure the password
change was successful.
To post a comment you must log in.
Here is a sample of how I pretend to consume these new methods -> https:/ /review. openstack. org/474032