# Example MySQL config file for very large systems. # # This is for a large system with memory of 1G-2G where the system runs mainly # MySQL. # # You can copy this file to # /etc/my.cnf to set global options, # mysql-data-dir/my.cnf to set server-specific options (in this # installation this directory is /usr/local/mysql/data) or # ~/.my.cnf to set user-specific options. # # In this file, you can use all long options that a program supports. # If you want to know which options a program supports, run the program # with the "--help" option. # The following options will be passed to all MySQL clients [client] #password = your_password port = 3306 socket = /var/lib/mysql/mysql.sock # /var/lib/mysql/mysql.sock # Here follows entries for some specific programs # The MySQL server [mysqld] port = 3306 socket = /var/lib/mysql/mysql.sock #socket = /srv/server/mysqld/socket/mysql.sock pid-file = /srv/server/mysqld/socket/mysql.pid wait_timeout = 10 interactive_timeout = 10 skip-locking key_buffer = 384M max_allowed_packet = 7M max_heap_table_size = 128M tmp_table_size = 128M table_cache = 2M sort_buffer_size = 256M read_buffer_size = 16M read_rnd_buffer_size = 32M myisam_sort_buffer_size = 256M thread_cache_size = 16 query_cache_size = 64M query_cache_limit = 4M join_buffer_size = 16M binlog_cache_size = 1M max_binlog_size = 10M bulk_insert_buffer_size = 48M myisam_sort_buffer_size = 96M # Try number of CPU's*2 for thread_concurrency thread_concurrency = 8 #minimum 2 suchwörter bei fulltext ft_min_word_len=2 # Don't listen on a TCP/IP port at all. This can be a security enhancement, # if all processes that need to connect to mysqld run on the same host. # All interaction with mysqld must be made via Unix sockets or named pipes. # Note that using this option without enabling named pipes on Windows # (via the "enable-named-pipe" option) will render mysqld useless! # skip-networking # Replication Master Server (default) # binary logging is required for replication log-bin=mysql-bin # required unique id between 1 and 2^32 - 1 # defaults to 1 if master-host is not set # but will not function as a master if omitted server-id = 1 [mysqldump] quick max_allowed_packet = 1M [mysql] no-auto-rehash # Remove the next comment character if you are not familiar with SQL #safe-updates [isamchk] key_buffer = 384M sort_buffer_size = 256M read_buffer = 48M write_buffer = 48M [myisamchk] key_buffer = 384M sort_buffer_size = 256M read_buffer = 24M write_buffer = 24M ft_min_word_len=2 [mysqlhotcopy] interactive-timeout