my-large.cnf 726 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. [mysqld]
  2. datadir=/var/lib/mysql
  3. socket=/var/lib/mysql/mysql.sock
  4. symbolic-links=0
  5. skip-external-locking
  6. key_buffer_size = 256M
  7. max_allowed_packet = 32M
  8. table_open_cache = 256
  9. sort_buffer_size = 1M
  10. read_buffer_size = 1M
  11. read_rnd_buffer_size = 4M
  12. myisam_sort_buffer_size = 64M
  13. thread_cache_size = 8
  14. query_cache_size= 16M
  15. thread_concurrency = 8
  16. #innodb_use_native_aio = 0
  17. innodb_file_per_table
  18. max_connections=200
  19. max_user_connections=50
  20. wait_timeout=10
  21. interactive_timeout=50
  22. long_query_time=5
  23. #slow_query_log=1
  24. #slow_query_log_file=/var/log/mysql-slow-queries.log
  25. [mysqld_safe]
  26. log-error=/var/log/mysqld.log
  27. pid-file=/var/run/mysqld/mysqld.pid
  28. #
  29. # include all files from the config directory
  30. #
  31. !includedir /etc/my.cnf.d