Advertisement
Guest User

Untitled

a guest
Sep 12th, 2013
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. [mysqld]
  2. datadir=/var/lib/mysql
  3. socket=/var/lib/mysql/mysql.sock
  4. user=mysql
  5. # Disabling symbolic-links is recommended to prevent assorted security risks
  6. symbolic-links=0
  7.  
  8. table_cache = 512
  9. sort_buffer_size = 1M
  10. max_allowed_packet = 1M
  11. thread_concurrency = 16
  12. thread_cache_size = 128
  13. query_cache_type = 1
  14. query_cache_limit = 32M
  15. query_cache_size = 256M
  16. bind-address=my.server's.ip.address
  17. wait_timeout = 60
  18. slow_query_log = 1
  19. slow_query_log_file = site-slow.log
  20. long_query_time = 10
  21. max_connections = 200
  22. tmpdir = /var/tmpfs
  23. tmp_table_size = 2K
  24. innodb_buffer_pool_size = 400M
  25. innodb_buffer_pool_instances = 4
  26. innodb_file_per_table
  27. join_buffer_size = 4M
  28. [mysqld_safe]
  29. log-error=/var/log/mysqld.log
  30. pid-file=/var/run/mysqld/mysqld.pid
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement