/var/lib/mysql/mysql.passwd no longer exist
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql (Juju Charms Collection) |
Fix Released
|
High
|
Edward Hope-Morley | ||
percona-cluster (Juju Charms Collection) |
Fix Released
|
High
|
Edward Hope-Morley |
Bug Description
The mysql charm changed the way root password is stored without providing backwards compatibility.
Up until recently we always had root password available in /var/lib/
I am pretty sure this problem was introduced in revision 137
There are 2 problems with this change
1. Many scripts, wiki pages and users (myself included) depended on /var/lib/
2. With peer relation there is no easy way to retrieve the password from the unit itself. One use case is a sysadmin who needs to check database structure. It used to be possible to run " mysql -uroot -p`cat /var/lib/
Related branches
- Jorge Niedbalski (community): Approve
-
Diff: 113 lines (+41/-11)1 file modifiedcharmhelpers/contrib/database/mysql.py (+41/-11)
- Jorge Niedbalski (community): Approve
-
Diff: 783 lines (+581/-31)9 files modifiedhooks/charmhelpers/contrib/database/mysql.py (+41/-11)
hooks/charmhelpers/core/fstab.py (+4/-4)
hooks/charmhelpers/core/host.py (+2/-2)
hooks/charmhelpers/core/strutils.py (+42/-0)
hooks/charmhelpers/core/sysctl.py (+2/-2)
hooks/charmhelpers/core/unitdata.py (+477/-0)
hooks/charmhelpers/fetch/archiveurl.py (+10/-10)
hooks/charmhelpers/fetch/giturl.py (+1/-1)
hooks/common.py (+2/-1)
- Liam Young (community): Approve
- Jorge Niedbalski (community): Approve
-
Diff: 793 lines (+584/-31)9 files modifiedhooks/charmhelpers/contrib/database/mysql.py (+41/-11)
hooks/charmhelpers/contrib/hahelpers/cluster.py (+5/-1)
hooks/charmhelpers/core/fstab.py (+4/-4)
hooks/charmhelpers/core/host.py (+2/-2)
hooks/charmhelpers/core/strutils.py (+42/-0)
hooks/charmhelpers/core/sysctl.py (+2/-2)
hooks/charmhelpers/core/unitdata.py (+477/-0)
hooks/charmhelpers/fetch/archiveurl.py (+10/-10)
hooks/charmhelpers/fetch/giturl.py (+1/-1)
- Liam Young (community): Approve
- Jorge Niedbalski (community): Approve
-
Diff: 793 lines (+584/-31)9 files modifiedhooks/charmhelpers/contrib/database/mysql.py (+41/-11)
hooks/charmhelpers/contrib/hahelpers/cluster.py (+5/-1)
hooks/charmhelpers/core/fstab.py (+4/-4)
hooks/charmhelpers/core/host.py (+2/-2)
hooks/charmhelpers/core/strutils.py (+42/-0)
hooks/charmhelpers/core/sysctl.py (+2/-2)
hooks/charmhelpers/core/unitdata.py (+477/-0)
hooks/charmhelpers/fetch/archiveurl.py (+10/-10)
hooks/charmhelpers/fetch/giturl.py (+1/-1)
Changed in mysql (Juju Charms Collection): | |
importance: | Undecided → High |
importance: | High → Medium |
importance: | Medium → High |
Changed in mysql (Juju Charms Collection): | |
assignee: | nobody → Edward Hope-Morley (hopem) |
status: | New → In Progress |
Changed in percona-cluster (Juju Charms Collection): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Edward Hope-Morley (hopem) |
Changed in mysql (Juju Charms Collection): | |
status: | In Progress → Fix Released |
Changed in percona-cluster (Juju Charms Collection): | |
status: | In Progress → Fix Released |
IS this with the trusty MySQL or precise or both?