Advertisement
Guest User

my.cnf

a guest
Dec 5th, 2019
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. [client]
  2. port=3306
  3. socket=/var/run/mysqld/mysqld.sock
  4.  
  5. [mysqld_safe]
  6. socket=/var/run/mysqld/mysqld.sock
  7.  
  8. [mysqld]
  9. user=mysql
  10. pid-file=/var/run/mysqld/mysqld.pid
  11. socket=/var/run/mysqld/mysqld.sock
  12. port=3306
  13. basedir=/usr
  14. datadir=/var/lib/mysql
  15. tmpdir=/tmp
  16. lc-messages-dir=/usr/share/mysql
  17. log_error=/var/log/mysql/error.log
  18.  
  19. symbolic-links=0
  20.  
  21. skip-external-locking
  22. key_buffer_size = 32K
  23. max_allowed_packet = 1M
  24. table_open_cache = 128
  25. sort_buffer_size = 10M
  26. read_buffer_size = 256K
  27. read_rnd_buffer_size = 256K
  28. net_buffer_length = 2K
  29. thread_stack = 240K
  30.  
  31. thread_cache_size = 64
  32. table_cache = 64
  33. key_buffer = 64M
  34. tmp_table_size=356M
  35. max_heap_table_size=256M
  36. query_cache_size=8M
  37. query_cache_type=0
  38. innodb_buffer_pool_size = 768M
  39. innodb_additional_mem_pool_size = 8M
  40. innodb_flush_log_at_trx_commit = 1
  41. innodb_support_xa = 0
  42. innodb_lock_wait_timeout = 50
  43. innodb_flush_method=O_DIRECT
  44. innodb_log_files_in_group = 2
  45. innodb_log_file_size = 96M
  46. innodb_log_buffer_size = 8M
  47. innodb_thread_concurrency = 8
  48. performance_schema = ON
  49. innodb_buffer_pool_instances = 1
  50.  
  51.  
  52. #innodb_use_native_aio = 0
  53. innodb_file_per_table
  54.  
  55. max_connections=30
  56. max_user_connections=20
  57. wait_timeout=10
  58. interactive_timeout=50
  59. long_query_time=5
  60.  
  61. !includedir /etc/mysql/conf.d/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement