MySQL Forums
Forum List  »  NDB clusters

Re: Table Create Error 1071 (42000)
Posted by: KimSeong Loh
Date: May 26, 2005 07:12PM

-> SE_DISPLAYID VARCHAR(100) unique,

-> ) ENGINE=NDBCLUSTER DEFAULT CHARSET=utf8;
ERROR 1071 (42000): Specified key was too long; max key length is 255 bytes
mysql> ERROR 1071 (42000)

Could it be the problem of the unique index on varchar(100) ?
varchar(100) with utf8 will need 300 bytes, exceeding 255 bytes as specified in the error message.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Table Create Error 1071 (42000)
6656
May 26, 2005 07:12PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.