数据库
首页 > 数据库> > mysql问题

mysql问题

作者:互联网

Specified key was too long; max key length is 767 bytes

 

dbever导入脚本报错

更改/etc/my.cnf

max_allowed_packet = 200M
#default-storage-engine=INNODB
innodb_large_prefix=on
innodb_file_format = BARRACUDA

 

重启

service mysqld restart

标签:max,767,packet,200M,问题,key,mysql
来源: https://www.cnblogs.com/nnnyg/p/16462466.html