mysql中出现Specified key was too long; max key length is 767 bytes,需要innodb_large_prefix设置步骤

书坊尚

关注

阅读 49

2022-01-20

mysql> set global innodb_file_format = BARRACUDA;
Query OK, 0 rows affected (0.00 sec)
 
mysql> set global innodb_large_prefix = ON;
Query OK, 0 rows affected (0.00 sec)

精彩评论(0)

0 0 举报