Be carefull using the above my.cnf example as the first part [mysqld] does contain some errors, at some of the configuration items a space was placed.
See here the incorrect part, taking the above example without fixing this will crash you mysql (so as said in the text, make a backup of your original one!):
[mysqld]
max_connections = 400
key_buffer = 64M
myisam_sort_buffer_s ize = 32M
join_buffer_size = 1M
read_buffer_size = 1M
sort_buffer_size = 2M
table_cache = 1024
thread_cache_size = 286
interactive_timeout = 25
wait_timeout = 1000
connect_timeout = 10
max_heap_table_size = 128M
max_allowed_packet = 16M
max_connect_errors = 10
read_rnd_buffer_size = 524288
bulk_insert_buffer_s ize = 16M
query_cache_limit = 1M
query_cache_size = 16M
query_cache_type = 1
query_prealloc_size = 163840
query_alloc_block_si ze = 32768
tmp_table_size = 32M
skip-innodb


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks