MySQL: Enforce UTF8 collation

Bug #547437 reported by Nigel-catalyst
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Unassigned

Bug Description

Using a latin1 or other such collation is bad. Mahara takes all data as UTF8. If the database is using some other collation, things like MNET can break, and people can end up seeing "funny characters".

We should add an ensure_sanity() check. Though only for new installs somehow - we don't want to harass people running existing systems. Not sure of the best way to do this.

This bug was imported from eduforge.org, see:
https://eduforge.org/tracker/index.php?func=detail&aid=3286&group_id=176&atid=739

Revision history for this message
Nigel-catalyst (nigel-catalyst) wrote :

Also - it should be a case sensitive collation if at all possible. We expect this for postgres already, so it should be done in mysql too.

Revision history for this message
Nigel-catalyst (nigel-catalyst) wrote :

Done. Though we're not enforcing the case sensitiveness thing. May as well leave collations up to the user to decide.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.