index column size too large. the maximum column size is 767 bytes报错主要出在mysql5.6版本和MariaDB101.检查配置文件 my.cnf检查这3条配置文件,没有就添加上
innodb_large_prefix = 1
innodb_file_per_table = 1
innodb_file_format = Bar...
max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]1.永久处理办法
在/etc/sysctl.conf文件最后添加一行
vm.max_map_count=262144
2.临时
sysctl -w vm.max_map_count=262...