I set the table tmp size to a higher value in my my.cnf
file like this:
tmp_table_size = 64M
max_heap_table_size = 64M
But it's not working. I used this script to check it. Even after I reboot, it is still showing that 16M is the default value.
What am I doing wrong?
You have to make sure the settings go under the
[mysqld]
group in /etc/my.cnfthen do one of two things:
OPTION 1 : Restart mysql
OPTION 2 : Set it globally for new incoming connections (restart not required)
Give it a Try !!!
Remove the spaces from your my.cnf.
Should resolve the issue, I've been caught out by this in the past myself.