Do I need the text "_size" in the my.cnf file for mysql 5.1?

Posted by chongman on Stack Overflow See other posts from Stack Overflow or by chongman
Published on 2010-04-18T21:24:46Z Indexed on 2010/04/18 21:33 UTC
Read the original article Hit count: 156

Filed under:
|

This is a pretty simple question about setting parameters in the my.cnf file for mysql 5.1.

This page gives me the parameters I can tune: http://dev.mysql.com/doc/refman/5.0/en/server-parameters.html and so I think I would need to write

key_buffer_size = 256M

But when I open my current my.cnf, it has the line:

key_buffer = 16M

My question is, do I need "key_buffer_size" or "key_buffer" or does it not matter which I use? And, how would I know if something in the my.cnf is incorrect? Where's the daemon start log file?

I am running ubuntu; I think version 8.04 LTS

© Stack Overflow or respective owner

Related posts about mysql

Related posts about my.cnf