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. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 & 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 was marked as an exact duplicate of an existing question.

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.