# 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/run/mysqld/mysqld.sock # /var/lib/mysql/mysql.sock # Here follows entries for some specific programs # The MySQL server [mysqld] port = 3306 socket = /var/run/mysqld/mysqld.sock pid-file = /var/run/mysqld/mysqld.pid datadir = /srv/server/mysqld/data wait_timeout = 10 interactive_timeout = 10 user = mysql skip-locking key_buffer = 256M max_allowed_packet = 4M table_cache = 64M sort_buffer_size = 128M read_buffer_size = 96M read_rnd_buffer_size = 64M myisam_sort_buffer_size = 128M thread_cache_size = 24M query_cache_size = 48M query_cache_limit = 30M join_buffer_size = 8M max_heap_table_size = 128M tmp_table_size = 256M binlog_cache_size = 1M max_binlog_size = 12M bulk_insert_buffer_size = 64M myisam_sort_buffer_size = 64M open_files_limit = 500000 # Try number of CPU's*2 for thread_concurrency thread_concurrency = 8 #minimum 2 suchwörter bei fulltext ft_min_word_len=2 # keine stopwords benutzen ft_stopword_file= # 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 = 2M [mysql] no-auto-rehash # Remove the next comment character if you are not familiar with SQL #safe-updates [isamchk] key_buffer = 256M sort_buffer_size = 128M read_buffer = 96M write_buffer = 48M [myisamchk] key_buffer = 256M sort_buffer_size = 128M read_buffer = 96M write_buffer = 48M ft_min_word_len=2 [mysqlhotcopy] interactive-timeout