Provide config option to specify database encoding
Bug #965094 reported by
Robert Ayres
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql (Juju Charms Collection) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Default database encoding is set to 'utf8'. This causes problems with the Hive charm that needs to use 'latin1'. In particular, utf8 encoding uses 3 bytes per character which exceeds the maximum column/row length when used with the Hive MySQL schema.
I think it'd be great if you could use a config option to specify this, where blank would simply default to MySQL's default.
Related branches
lp://qastaging/~evarlast/charms/precise/mysql/encoding
On hold
for merging
into
lp://qastaging/charms/mysql
- Jorge Castro (community): Needs Fixing
- Cory Johns (community): Needs Fixing
-
Diff: 21 lines (+4/-1)1 file modifiedhooks/db-relation-joined (+4/-1)
Changed in mysql (Juju Charms Collection): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
To post a comment you must log in.
IMO it would be better to implement an interface on the mysql relation for the database encoding, which is not required and defaults to utf8 and update the hive charm to set the encoding to latin1.