Advertisement
RedFoxy

mysql.ini

Mar 24th, 2017
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.79 KB | None | 0 0
  1. [client]
  2. socket = /tmp/mysql.sock
  3.  
  4. [mysqld]
  5. bind_address = 127.0.0.1
  6. socket = /tmp/mysql.sock
  7.  
  8. query_cache_type = 1
  9. query_cache_size = 128M #256M #09/12/2015
  10. query_cache_min_res_unit = 1k
  11. query_cache_limit = 32M
  12.  
  13. table_open_cache = 64 #3000 #09/12/2015
  14. table_definition_cache = 256 #16384 #09/12/2015
  15.  
  16. wait_timeout = 180 #300 #29/12/2015
  17. interactive_timeout = 180 #300 #29/12/2015
  18.  
  19. max_connections = 450 #500 #09/12/2015
  20. # Memopria usata = max_connections*(sort_buffer_size+join_buffer_size+read_buffer_size)
  21.  
  22. sort_buffer_size = 1M #32K #09/12/2015
  23. join_buffer_size = 8M #12M #29/12/2015
  24. read_buffer_size = 8M #12M #29/12/2015
  25.  
  26. innodb_buffer_pool_size = 1G #64M #09/12/2015
  27. innodb_buffer_pool_instances = 1 #09/12/2015
  28. tmp_table_size = 128M # 320M #09/12/2015
  29. max_heap_table_size = 128M # 320M #09/12/2015
  30. key_buffer_size = 1500M # 1200M #09/12/2015
  31. open_files_limit = 30000
  32.  
  33. slow_query_log = 1 # 0 = disattiva 1 = attiva
  34. long_query_time = 1 # In secondi
  35. #log_queries_not_using_indexes = TRUE
  36.  
  37.  
  38. explicit_defaults_for_timestamp
  39.  
  40. tmpdir = /tmp
  41.  
  42. thread_cache_size = 34
  43.  
  44. ft_min_word_len = 3
  45.  
  46. datadir = /home/mysql
  47. default_storage_engine = MYISAM
  48.  
  49. max_allowed_packet = 128M #16M #05/10/2015
  50. max_connect_errors = 10
  51.  
  52. log-bin
  53. expire_logs_days = 5
  54. innodb_data_file_path = ibdata1:100M:autoextend
  55. innodb_data_home_dir = /home/mysql/
  56. innodb_write_io_threads = 8
  57. innodb_read_io_threads = 8
  58. innodb_thread_concurrency = 8
  59. transaction_isolation = REPEATABLE-READ
  60.  
  61. [mysqldump]
  62. quick
  63. max_allowed_packet = 128M #16M 05/10/2015
  64. socket = /tmp/mysql.sock
  65.  
  66. [mysqlhotcopy]
  67. interactive_timeout = 8000
  68. socket = /tmp/mysql.sock
  69.  
  70. [mysql]
  71. no_auto_rehash
  72. socket = /tmp/mysql.sock
  73.  
  74. [mysqld-safe]
  75. socket = /tmp/mysql.sock
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement