| @@ -23,6 +23,13 @@ RUN \ | |||
| mysql -e "SELECT Host, User, Password FROM mysql.user;" > /tmp/a.out | |||
| #rm -f /tmp/config | |||
| COPY tuning.cnf /etc/mysql/conf.d/tuning.cnf | |||
| COPY tuning-primer.sh /usr/local/bin/ | |||
| RUN chmod +x /usr/local/bin/tuning-primer.sh | |||
| COPY mysqltuner.pl /usr/local/bin/ | |||
| RUN chmod +x /usr/local/bin/mysqltuner.pl | |||
| COPY startup.sh /usr/local/bin/ | |||
| RUN chmod +x /usr/local/bin/startup.sh | |||
| @@ -0,0 +1,8 @@ | |||
| [mysqld] | |||
| #join_buffer_size = 128.0K | |||
| #innodb_buffer_pool_size = 1.0G | |||
| innodb_buffer_pool_size = 384M | |||
| innodb_log_file_size = 16M | |||
| innodb_buffer_pool_instances = 1 | |||