home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
HTPC Projects
Software
Tools and other software
[How To] [User Exp] Update MySQL
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="megahorst" data-source="post: 967310" data-attributes="member: 22213"><p>[code]ALTER TABLE mptvdb.<tablename> ENGINE=InnoDB ROW_FORMAT=COMPACT;[/code]</p><p>worked without any warnings</p><p> </p><p>Except these ones:</p><p>ALTER TABLE mptvdb.schedule ENGINE=InnoDB ROW_FORMAT=COMPACT;</p><p>ALTER TABLE mptvdb.recording ENGINE=InnoDB ROW_FORMAT=COMPACT;</p><p> </p><p>They gave the following error:</p><p>[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]</p><p> </p><p>The keyvalue is to long for the chosen character-set "utf8-default collation" .</p><p> </p><p>So the key or the character-set has to be changed.</p><p>Does anyone has an idea which character-set should be used?</p></blockquote><p></p>
[QUOTE="megahorst, post: 967310, member: 22213"] [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? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
HTPC Projects
Software
Tools and other software
[How To] [User Exp] Update MySQL
Contact us
RSS
Top
Bottom