Browse Source

Reduce mysql memory use

Bob Mottram 11 years ago
parent
commit
4164d3e840
1 changed files with 18 additions and 0 deletions
  1. 18
    0
      beaglebone.txt

+ 18
- 0
beaglebone.txt View File

@@ -3732,6 +3732,12 @@ apt-get install mysql-server php5-common php5-cli php5-curl php5-gd php5-mysql p
3732 3732
 
3733 3733
 Enter an admin password for MySQL.
3734 3734
 
3735
+Reduce the memory use of mysql by using the "small" configuration.
3736
+
3737
+#+BEGIN_SRC: bash
3738
+cp /usr/share/doc/mysql-server-5.5/examples/my-small.cnf /etc/mysql/my.cnf
3739
+#+END_SRC
3740
+
3735 3741
 Create a mysql database.
3736 3742
 
3737 3743
 #+BEGIN_SRC: bash
@@ -3985,6 +3991,12 @@ apt-get install mysql-server php5-common php5-cli php5-curl php5-gd php5-mysql p
3985 3991
 
3986 3992
 If necessary, enter an admin password for MySQL.
3987 3993
 
3994
+Reduce the memory use of mysql by using the "small" configuration.
3995
+
3996
+#+BEGIN_SRC: bash
3997
+cp /usr/share/doc/mysql-server-5.5/examples/my-small.cnf /etc/mysql/my.cnf
3998
+#+END_SRC
3999
+
3988 4000
 Create a mysql database.
3989 4001
 
3990 4002
 #+BEGIN_SRC: bash
@@ -4061,6 +4073,12 @@ apt-get install mysql-server php5-common php5-cli php5-curl php5-gd php5-mysql p
4061 4073
 
4062 4074
 Enter an admin password for MySQL.
4063 4075
 
4076
+Reduce the memory use of mysql by using the "small" configuration.
4077
+
4078
+#+BEGIN_SRC: bash
4079
+cp /usr/share/doc/mysql-server-5.5/examples/my-small.cnf /etc/mysql/my.cnf
4080
+#+END_SRC
4081
+
4064 4082
 Create a mysql database.
4065 4083
 
4066 4084
 #+BEGIN_SRC: bash