Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

This question already has an answer here:

I have a database using innodb completely. Its now having a innodb_buffer_pool_size at 128MB. Which I know is very less for my user.

But no matter what I do it won't change. I have added a value of 1G both in /etc/my.cnf and also in /etc/mysql/my.cnf and restarted the mysql service. It doesn't seem to update.

My mysql keeps on stopping and when i run mysqltuner & tuning-primer.sh all point to the fact I have to increase the innodb_buffer_pool_size but it simply won't increase.

Is there any other way to enforce this?

share|improve this question

marked as duplicate by RolandoMySQLDBA, Mike Walsh, Mark Storey-Smith, Max Vernon, bluefeet Nov 18 '13 at 11:52

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2 Answers 2

Adding the values to a new my.cnf file inside, /etc/mysql/conf.d solved the issue. Added only the value we wanted to override. For some reason, values added elsewhere were ignored by mysql.

Note: Make sure /etc/mysql/conf.d is included in my.cnf file located at /etc/mysql/my.cnf. It included by default.

share|improve this answer

Make sure that you are adding innodb_buffer_pool_size and it's value in mysqld section of my.cnf file of a MySQL server you would like to change.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.