Guest User

Slave config

a guest
Apr 13th, 2013
26
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [mysqld]
  2. server-id = 2
  3. master-host = xxx.xxx.xxx.xxx
  4. master-user = user
  5. master-password = pass
  6. replicate-do-db = bitrix_26
  7. log-bin = bin-log
  8.  
  9. user = mysql
  10. pid-file = /var/run/mysqld/mysqld.pid
  11. socket = /var/lib/mysqld/mysqld.sock
  12. port = 3306
  13. basedir = /usr
  14. datadir = /var/lib/mysql
  15. tmpdir = /tmp
  16. skip-external-locking
  17. query_cache_size = 32M
  18. table_cache = 4096
  19. thread_cache_size = 32
  20. max_heap_table_size     = 32M
  21. tmp_table_size = 32M
  22. innodb_buffer_pool_size = 32M
  23. innodb_flush_log_at_trx_commit = 1
  24. innodb_log_file_size = 64M
  25. innodb_flush_method = O_DIRECT
  26. default-storage-engine = innodb
  27. key_buffer = 16M
  28. max_allowed_packet = 16M
  29. thread_stack = 128K
  30. myisam-recover = BACKUP
  31. expire_logs_days = 10
  32. max_binlog_size = 100M
  33. join_buffer_size = 2M
  34. sort_buffer_size = 2M
  35. character-set-server = utf8
  36. collation-server = utf8_unicode_ci
  37. init-connect = "SET NAMES utf8 COLLATE utf8_unicode_ci"
  38. skip-character-set-client-handshake
  39. innodb_file_per_table
  40. relay-log = relay-bin
  41. relay-log-index = relay-log.index
RAW Paste Data