Dan Prince a4ee934b8d Force MySQL to use InnoDB/utf8
When using Ceilometer without InnoDB you'll get an exception
in migration 10:

Specified key was too long; max key length is 1000 bytes') 'CREATE INDEX
idx_meter_rid_cname ON meter (resource_id, counter_name)'

With most OpenStack projects we avoid editing old (historical) migrations
but I think the use case is slightly different with Ceilometer and
MySQL users could probably recreate their database from scratch if
they hit this error. As such in this commit we upgrade the initial
table scripts in 001 so that users of older MySQL versions where
InnoDB isn't the default (version 5.1 etc.) can have a working
Ceilometer out of the box.

Fixes LP Bug #1217802.

Change-Id: Ie2c2ae2d3b7a5575b02fe8c3cb148aa2e9624c62
2013-09-13 11:10:14 -04:00
..
2013-09-13 11:10:14 -04:00
2013-09-09 18:54:19 +00:00
2013-09-04 12:45:26 -03:00