问题
i am trying to run alter table command and i am getting the following error:
#1069 - Too many keys specified; max 64 keys allowed
any help will be highly appreciated
回答1:
According to the mysql forums you must compile with
./configure --prefix=/usr/local/mysql --with-charset=cp1251 --enable-thread-safe-client --with-max-indexes=256
source: http://forums.mysql.com/read.php?22,53666,262189#msg-262189
unfortunately there does not appear to be a way to change after compiling
回答2:
Seems like the message is clear... YOu can't have a table with more than 64 keys (Primary, Foreign or even index)
来源:https://stackoverflow.com/questions/5021586/mysql-error-1069-too-many-keys-specified-max-64-keys-allowed