Advertisement
Guest User

Untitled

a guest
Jul 31st, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.42 KB | None | 0 0
  1. #BEGIN CONFIG INFO
  2. #DESCR: custom
  3. #TYPE: SYSTEM
  4. #END CONFIG INFO
  5.  
  6. [client]
  7. #password = [your_password]
  8. port = 3306
  9. socket = /opt/local/var/run/mysql5/mysqld.sock
  10.  
  11. [mysqld]
  12. port = 3306
  13. socket = /opt/local/var/run/mysql5/mysqld.sock
  14. back_log = 50
  15. skip-networking
  16. #max_connections = 5
  17. max_connect_errors = 10
  18. table_cache = 2048
  19. #external-locking
  20. max_allowed_packet = 128M
  21.  
  22. binlog_cache_size = 4M
  23. max_heap_table_size = 64M
  24. sort_buffer_size = 128M
  25. join_buffer_size = 16M
  26.  
  27. thread_cache_size = 8
  28. thread_concurrency = 8
  29.  
  30. query_cache_size = 64M
  31. query_cache_limit = 2M
  32. ft_min_word_len = 4
  33. #memlock
  34.  
  35. default_table_type = INNODB
  36. thread_stack = 192K
  37.  
  38. # Set the default transaction isolation level. Levels available are:
  39. # READ-UNCOMMITTED, READ-COMMITTED, REPEATABLE-READ, SERIALIZABLE
  40. transaction_isolation = READ-COMMITTED # XXX
  41.  
  42. tmp_table_size = 128M
  43. log-bin=mysql-bin
  44.  
  45. #log_slave_updates
  46. #log
  47. #log_warnings
  48. log_slow_queries
  49. long_query_time = 5
  50. log_long_format
  51.  
  52. #tmpdir = /tmp
  53.  
  54. # *** Replication related settings
  55. server-id = 1
  56. #server-id = 2
  57. #master-host = <hostname>
  58. #master-user = <username>
  59. #master-password = <password>
  60. #master-port = <port>
  61. #read_only
  62.  
  63. #*** MyISAM Specific options
  64. key_buffer_size = 64M
  65. read_buffer_size = 2M
  66. read_rnd_buffer_size = 8M
  67. bulk_insert_buffer_size = 32M
  68.  
  69. myisam_sort_buffer_size = 128M
  70. myisam_max_sort_file_size = 10G
  71. myisam_max_extra_sort_file_size = 10G
  72. myisam_repair_threads = 2
  73. myisam_recover
  74.  
  75. # *** BDB Specific options ***
  76. skip-bdb
  77.  
  78. # *** INNODB Specific options ***
  79. #skip-innodb
  80. innodb_additional_mem_pool_size = 16M
  81. innodb_buffer_pool_size = 1280M
  82. innodb_data_file_path = ibdata1:10M:autoextend
  83. #innodb_data_home_dir = <directory>
  84. innodb_file_io_threads = 4
  85. #innodb_force_recovery=1
  86. innodb_thread_concurrency = 4
  87. innodb_flush_log_at_trx_commit = 2 # 0, 1, 2
  88. #innodb_fast_shutdown
  89.  
  90. innodb_log_buffer_size = 8M
  91. innodb_log_file_size = 192M
  92. innodb_log_files_in_group = 2
  93.  
  94. #innodb_log_group_home_dir
  95. innodb_max_dirty_pages_pct = 90
  96. #innodb_flush_method=O_DSYNC
  97. innodb_lock_wait_timeout = 120
  98.  
  99. [mysqldump]
  100. quick
  101. max_allowed_packet = 16M
  102.  
  103. [mysql]
  104. no-auto-rehash
  105. #safe-updates
  106.  
  107. [isamchk]
  108. key_buffer = 512M
  109. sort_buffer_size = 512M
  110. read_buffer = 8M
  111. write_buffer = 8M
  112.  
  113. [myisamchk]
  114. key_buffer = 512M
  115. sort_buffer_size = 512M
  116. read_buffer = 8M
  117. write_buffer = 8M
  118.  
  119. [mysqlhotcopy]
  120. interactive-timeout
  121.  
  122. [mysqld_safe]
  123. open-files-limit = 8192
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement