修复Mysql内存占用过高的问题

This commit is contained in:
李扬 2016-09-29 21:28:37 +08:00 committed by GitHub
parent e1a5d1e5cd
commit bb02ffea3a

View File

@ -1,2 +1,2 @@
FROM mysql:latest
RUN printf "\nserver-id=1\nlog-bin=binlog\nperformance_schema=OFF" >> /etc/mysql/my.cnf
RUN printf "\n[mysqld]\nserver-id=1\nlog-bin=binlog\nperformance_schema=OFF\ntable_definition_cache=400\ntable_open_cache=256" >> /etc/mysql/my.cnf