0120-33-9096
03-5717-5033 (携帯電話用)
【電話受付時間】
平日 9:00-11:45、13:00-17:00
USA/Canada - Toll Free: +1-866-221-0634
USA - From abroad: +1-208-327-6494
USA/Canada - Subscription Renewals: +1-866-221-0634
UK: +44 845 399 1124
Ireland: +353 1 6919191
Germany: +49 89 420 95 98 95
France: +33 1 70 61 48 95
Sweden: +46 730 207 871
Benelux: +31 6 25003558
Italy: +39 06-99268193
Israel: +31 6 25003558
Spain & Portugal: + 34 933905461
Other EMEA countries: +353 1 6919191
Australia/NZ: +61 2 42314328
Asia Pacific: +81 3 5843 1141
Newsletters older than 6 months may have links that are out of date. Please use the Search to check for updated links.
Does MySQL have any limitations on the length of primary keys?
In MySQL by default the maximum lenght for any index is 500 bytes for MyISAM tables and 1024 bytes for InnoDB. An index can contain from 1 to 16 columns or parts of columns. The default maximum lenght of index can be changed at compile. We just keep it limited to avoid the need to have a large thread stack.

