Reply to thread

[code]ALTER TABLE mptvdb.<tablename>            ENGINE=InnoDB ROW_FORMAT=COMPACT;[/code]

worked without any warnings

 

Except these ones:

ALTER TABLE mptvdb.schedule            ENGINE=InnoDB ROW_FORMAT=COMPACT;

ALTER TABLE mptvdb.recording            ENGINE=InnoDB ROW_FORMAT=COMPACT;

 

They gave the following error:

[code]0    22    08:19:57    ALTER TABLE mptvdb.schedule          ENGINE=InnoDB ROW_FORMAT=COMPACT    Error Code: 1071. Specified key was too long; max key length is 767 bytes    0.016 sec[/code]

 

The keyvalue is to long for the chosen character-set "utf8-default collation" .

 

So the key or the character-set has to be changed.

Does anyone has an idea which character-set should be used?


Top Bottom