MySQL UTF-8 Conversion in Bugzilla

David Miller justdave at bugzilla.org
Mon Nov 20 01:51:55 UTC 2006


Max Kanat-Alexander wrote on 11/18/06 11:00 AM:
> 	Just to let you know, I've just checked in a patch that converts the
> MySQL database to UTF-8. However, if you have any non-UTF-8 data in your
> DB, manual intervention is required during checksetup or your data will
> be DELETED.

Just as a point of contention...  if it's going to cause dataloss, we
should require input from the operator before continuing if it's going
to delete things, instead of just giving them 60 seconds to abort.  If
we're running in non-interactive mode, just print an error and bail
(unless the override is included in the passed answers file).

> 	checksetup.pl will warn you and give you 60 seconds to stop it, before
> it goes ahead and converts your database. You can press Ctrl-C when you
> see the message, and follow the instructions checksetup.pl gives you, to
> finish the upgrade. (And then re-run checksetup.pl, of course.)

-- 
Dave Miller                                   http://www.justdave.net/
System Administrator, Mozilla Corporation      http://www.mozilla.com/
Project Leader, Bugzilla Bug Tracking System  http://www.bugzilla.org/



More information about the developers mailing list