# 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 pid-file = /server/mysqld/socket/mysql.pid wait_timeout = 10 interactive_timeout = 10 skip-locking key_buffer = 100M max_allowed_packet = 3M tmp_table_size = 2128M table_cache = 40M sort_buffer_size = 64M read_buffer_size = 32M read_rnd_buffer_size = 32M myisam_sort_buffer_size = 64M thread_cache_size = 10M query_cache_size = 32M query_cache_limit = 30M join_buffer_size = 2M # Try number of CPU's*2 for thread_concurrency thread_concurrency = 2 #minimum 2 suchw�rter bei fulltext ft_min_word_len=2 ft_stopword_file=/tmp/stopword.txt # 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 = 96M sort_buffer_size = 64M read_buffer = 32M write_buffer = 32M [myisamchk] key_buffer = 96M sort_buffer_size = 64M read_buffer = 32M write_buffer = 32M ft_min_word_len=2 [mysqlhotcopy] interactive-timeout