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
 
3732
 
3733
 Enter an admin password for MySQL.
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
 Create a mysql database.
3741
 Create a mysql database.
3736
 
3742
 
3737
 #+BEGIN_SRC: bash
3743
 #+BEGIN_SRC: bash
3985
 
3991
 
3986
 If necessary, enter an admin password for MySQL.
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
 Create a mysql database.
4000
 Create a mysql database.
3989
 
4001
 
3990
 #+BEGIN_SRC: bash
4002
 #+BEGIN_SRC: bash
4061
 
4073
 
4062
 Enter an admin password for MySQL.
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
 Create a mysql database.
4082
 Create a mysql database.
4065
 
4083
 
4066
 #+BEGIN_SRC: bash
4084
 #+BEGIN_SRC: bash