mysql 5.6默认启动占用内存400多M,如果是vps等小内存应用,mysql内存占用率明显偏高,将会导致崩溃,mysql会自动停止。 编辑/etc/my.cnf文件在[mysqld]下增加或修改如下参数 performance_schema_max_table_instances = 200 table_definition_cache = 100 table_open_cache

- 阅读全文 -