MySQL server settings

wait_timeout=31536000
log_queries_not_using_indexes=1
slow-query-log=1
character_set_client=utf8
character_set_server=utf8
max_allowed_packet=16M