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

When I open my.cnf to enter manual setting like:

innodb_buffer_pool_size = 50M
innodb_log_file_size = 15M
log-slow-queries = mysql-inja-slow.log

All of my settings get vanished when I hit Save! My server has mysql 5.1.

share|improve this question

closed as too localized by Derek Downey, RolandoMySQLDBA, JNK May 25 '12 at 20:11

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

What are you using to edit them? What OS are you on? It sounds like it might just be a permission problem. – atxdba May 22 '12 at 5:39

I solved the problem with :

chattr -i /etc/xxxx/x/x/my.cnf

share|improve this answer

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