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.

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

1 Answer 1

up vote 2 down vote accepted

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

share|improve this answer

Your Answer

 
discard

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.