我這裏用的mysql版本爲5.6.17 裝完發現佔用四百多內存 怎麼解決呢?
很簡單 找到mysql安裝目錄下my.ini文件 用記事本打開(如我的安裝目錄C:\wamp\bin\mysql\mysql5.6.17)
打開後 拖到最後面 加上下面三行代碼 保存 重啓mysql服務即可
performance_schema_max_table_instances=400
table_definition_cache=400
table_open_cache=256
打開後 拖到最後面 加上下面三行代碼 保存 重啓mysql服務即可
performance_schema_max_table_instances=400
table_definition_cache=400
table_open_cache=256