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

Based on this question, the asker wrote:

set-variable = innodb_buffer_pool_size=2M
set-variable = innodb_additional_mem_pool_size=500K
set-variable = innodb_log_buffer_size=500K
set-variable = innodb_thread_concurrency=2
set-variable = innodb_flush_log_at_trx_commit=0

All of the variable has set-variable. I've tested this way on MySQL 5.1 standard install, and it works fine.

But I dont like it that way because it too long.

Lots of other guide including in MySQL website didn't say about using set-variable. Even in MyISAM setting example (MySQL 5.1), it only use thread_concurrency = 10

I've just installed MySQL 5.5 on new server and now is the time for configuration.

So, do MySQL really need set-variable?

share|improve this question
up vote 2 down vote accepted

MySQL works fine without the set-variable in the my.cnf file

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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