Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [mysqld]
- # Disabling symbolic-links is recommended to prevent assorted security risks;
- # to do so, uncomment this line:
- # symbolic-links=0
- key_buffer = 16M
- key_buffer_size = 32M
- max_allowed_packet = 16M
- thread_stack = 256K
- thread_cache_size = 64
- query_cache_limit = 8M
- query_cache_size = 64M
- query_cache_type = 1
- # Important: see Distributing the Databases and Setting max_connections
- max_connections = 600
- read_buffer_size = 2M
- read_rnd_buffer_size = 16M
- sort_buffer_size = 8M
- join_buffer_size = 8M
- # InnoDB settings
- innodb_file_per_table = 1
- innodb_flush_log_at_trx_commit = 2
- innodb_log_buffer_size = 64M
- innodb_buffer_pool_size = 2G
- innodb_thread_concurrency = 8
- innodb_flush_method = O_DIRECT
- innodb_log_file_size = 512M
- [mysqld_safe]
- log-error=/var/log/mysqld.log
- pid-file=/var/run/mysqld/mysqld.pid
Add Comment
Please, Sign In to add comment