Commit 6d02ec81 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

We need [mysqld] section in innodb.conf

parent 49df0d33
...@@ -3,6 +3,6 @@ ...@@ -3,6 +3,6 @@
POOLSIZE=`grep MemTotal /proc/meminfo | awk '{printf("%.0f", $2 / 1024 * 0.75)}'` POOLSIZE=`grep MemTotal /proc/meminfo | awk '{printf("%.0f", $2 / 1024 * 0.75)}'`
echo "[mysqld]" > /run/mysqld/innodb.conf echo "[mysqld]" > /run/mysqld/innodb.conf
echo "innodb_buffer_pool_size = ${POOLSIZE}M" > /run/mysqld/innodb.conf echo "innodb_buffer_pool_size = ${POOLSIZE}M" >> /run/mysqld/innodb.conf
chown mysql.mysql /run/mysqld/innodb.conf chown mysql.mysql /run/mysqld/innodb.conf
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment