Incorrect key file for table '/tmp/

From Kolmisoft Wiki
Revision as of 13:22, 6 June 2008 by Mindaugas (talk | contribs)
Jump to navigationJump to search

Disk space can be low.

Try to tune your mysql with mysqltuner: http://rackerhacker.com/mysqltuner/

Example mysql.cnf configuration:

max_allowed_packet = 256M
key_buffer_size=256M
key_buffer=258M
innodb_buffer_pool_size = 100M
query_cache_type=1
query_cache_limit=64M
query_cache_size=64M
join_buffer_size = 2M
tmp_table_size = 512M
max_heap_table_size = 512M
thread_cache_size = 4
table_cache = 128
log-slow-queries = /var/lib/mysql/slow_query.log
log-error=/var/lib/mysql/mysqld.log