简体   繁体   中英

MYSQL index column size issue after upgrading from from 5.7 to 8

We have a RDS MYSQL with AWS. After upgrading the mysql fro 5.7 to 8, one of our table has been in error. "Index column size too large. The maximum size is 767 bytes.

We've tried to drop the table, alter, truncate, drop index, all these command responded with the same error above, I'm stuck, please help, Thanks.

That should have been fixed in 5.7 and carried over into 8.0. Please provide SHOW CREATE TABLE , the exact version numbers, and any other details you can think of.

See this for 5 workarounds: http://mysql.rjweb.org/doc.php/limits#767_limit_in_innodb_indexes

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM