You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
InnoDB has a maximum size of 767 bytes on a single column index. When using a VARCHAR(200) as one of the columns in a multicolumn primary key, this limit still is in force.
When the character encoding is set to UTF8mb4, the VARCHAR(200) data type required 800 bytes, which is greater than the allowed 767 by InnoDB.
This should be easy to fix by reducing the VARCHAR(200) columns to VARCHAR(190) columns, which will fit inside the 767 byte limit with any encoding that uses 4 bytes or less.
InnoDB has a maximum size of 767 bytes on a single column index. When using a
VARCHAR(200)
as one of the columns in a multicolumn primary key, this limit still is in force.When the character encoding is set to
UTF8mb4
, theVARCHAR(200)
data type required 800 bytes, which is greater than the allowed 767 by InnoDB.This should be easy to fix by reducing the
VARCHAR(200)
columns toVARCHAR(190)
columns, which will fit inside the 767 byte limit with any encoding that uses 4 bytes or less.For limitations on InnoDB, see http://dev.mysql.com/doc/refman/5.6/en/innodb-restrictions.html
The text was updated successfully, but these errors were encountered: