1 查看mysql 缓存是否开启 select @@query_cache_type;
2系统变量设置 hava_query_cache 是否可用 show variables like 'have_query_cache';
3查看分配给mysql缓存的大小 select @@global.query_cache_size;
三者关系就不说了自己可以理解
The InnoDB memory heap is disabled
.
.
.
mysqld: Too many arguments (first extra is 'start').
Use --verbose --help to get a list of available options
环境变量设置错误可以直接用 /etc/init.d/mysqld start 启动