tags:

views:

9

answers:

0

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