错误原因:
1、mysql的配置文件里面的innodb_buffer_pool_size=5G,innodb_buffer_pool_instances=10,innodb_buffer_pool_chunk_size=1024M。则三个项的值是有关系的,并不是你想怎样设置就怎样设置,关系是:innodb_buffer_pool_size/innodb_buffer_pool_instances == innodb_buffer_pool_chunk_size。显然这里设置错误。其实一般只设置前两个,innodb_buffer_pool_chunk_size不用设置,一定要设置的话,必须小于等于innodb_buffer_pool_size/innodb_buffer_pool_instances的值。
解决方案:
1、正确设置innodb_buffer_pool_size/innodb_buffer_pool_instances == innodb_buffer_pool_chunk_size。