Reduce mysql memory use

This commit is contained in:
Bob Mottram 2014-04-19 13:28:51 +01:00
parent b2adffc097
commit 4164d3e840
1 changed files with 18 additions and 0 deletions

View File

@ -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. 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. Create a mysql database.
#+BEGIN_SRC: bash #+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. 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. Create a mysql database.
#+BEGIN_SRC: bash #+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. 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. Create a mysql database.
#+BEGIN_SRC: bash #+BEGIN_SRC: bash