From 4164d3e8401f63ea14eca80e67e1633e172b9a8d Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 19 Apr 2014 13:28:51 +0100 Subject: [PATCH] Reduce mysql memory use --- beaglebone.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/beaglebone.txt b/beaglebone.txt index bfac878a..8b3ccc7c 100644 --- a/beaglebone.txt +++ b/beaglebone.txt @@ -3732,6 +3732,12 @@ apt-get install mysql-server php5-common php5-cli php5-curl php5-gd php5-mysql p Enter an admin password for MySQL. +Reduce the memory use of mysql by using the "small" configuration. + +#+BEGIN_SRC: bash +cp /usr/share/doc/mysql-server-5.5/examples/my-small.cnf /etc/mysql/my.cnf +#+END_SRC + Create a mysql database. #+BEGIN_SRC: bash @@ -3985,6 +3991,12 @@ apt-get install mysql-server php5-common php5-cli php5-curl php5-gd php5-mysql p If necessary, enter an admin password for MySQL. +Reduce the memory use of mysql by using the "small" configuration. + +#+BEGIN_SRC: bash +cp /usr/share/doc/mysql-server-5.5/examples/my-small.cnf /etc/mysql/my.cnf +#+END_SRC + Create a mysql database. #+BEGIN_SRC: bash @@ -4061,6 +4073,12 @@ apt-get install mysql-server php5-common php5-cli php5-curl php5-gd php5-mysql p Enter an admin password for MySQL. +Reduce the memory use of mysql by using the "small" configuration. + +#+BEGIN_SRC: bash +cp /usr/share/doc/mysql-server-5.5/examples/my-small.cnf /etc/mysql/my.cnf +#+END_SRC + Create a mysql database. #+BEGIN_SRC: bash