my_uwamp.ini 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. # Example MySQL config file for medium systems.
  2. #
  3. # This is for a system with little memory (32M - 64M) where MySQL plays
  4. # an important part, or systems up to 128M where MySQL is used together with
  5. # other programs (such as a web server)
  6. #
  7. # MySQL programs look for option files in a set of
  8. # locations which depend on the deployment platform.
  9. # You can copy this option file to one of those
  10. # locations. For information about these locations, see:
  11. # http://dev.mysql.com/doc/mysql/en/option-files.html
  12. #
  13. # In this file, you can use all long options that a program supports.
  14. # If you want to know which options a program supports, run the program
  15. # with the "--help" option.
  16. # The following options will be passed to all MySQL clients
  17. [client]
  18. #password = your_password
  19. port = 3306
  20. socket = /tmp/mysql.sock
  21. # Here follows entries for some specific programs
  22. # The MySQL server
  23. [mysqld]
  24. default-storage-engine = myisam
  25. port = 3306
  26. socket = /tmp/mysql.sock
  27. datadir = "{MYSQLDATAPATH}"
  28. skip-external-locking
  29. key_buffer_size = 16M
  30. max_allowed_packet = 1M
  31. table_open_cache = 64
  32. sort_buffer_size = 512K
  33. net_buffer_length = 8K
  34. read_buffer_size = 256K
  35. read_rnd_buffer_size = 512K
  36. myisam_sort_buffer_size = 8M
  37. explicit_defaults_for_timestamp = TRUE
  38. # Don't listen on a TCP/IP port at all. This can be a security enhancement,
  39. # if all processes that need to connect to mysqld run on the same host.
  40. # All interaction with mysqld must be made via Unix sockets or named pipes.
  41. # Note that using this option without enabling named pipes on Windows
  42. # (via the "enable-named-pipe" option) will render mysqld useless!
  43. #
  44. #skip-networking
  45. # Replication Master Server (default)
  46. # binary logging is required for replication
  47. log-bin=mysql-bin
  48. # binary logging format - mixed recommended
  49. binlog_format=mixed
  50. # required unique id between 1 and 2^32 - 1
  51. # defaults to 1 if master-host is not set
  52. # but will not function as a master if omitted
  53. server-id = 1
  54. # Replication Slave (comment out master section to use this)
  55. #
  56. # To configure this host as a replication slave, you can choose between
  57. # two methods :
  58. #
  59. # 1) Use the CHANGE MASTER TO command (fully described in our manual) -
  60. # the syntax is:
  61. #
  62. # CHANGE MASTER TO MASTER_HOST=<host>, MASTER_PORT=<port>,
  63. # MASTER_USER=<user>, MASTER_PASSWORD=<password> ;
  64. #
  65. # where you replace <host>, <user>, <password> by quoted strings and
  66. # <port> by the master's port number (3306 by default).
  67. #
  68. # Example:
  69. #
  70. # CHANGE MASTER TO MASTER_HOST='125.564.12.1', MASTER_PORT=3306,
  71. # MASTER_USER='joe', MASTER_PASSWORD='secret';
  72. #
  73. # OR
  74. #
  75. # 2) Set the variables below. However, in case you choose this method, then
  76. # start replication for the first time (even unsuccessfully, for example
  77. # if you mistyped the password in master-password and the slave fails to
  78. # connect), the slave will create a master.info file, and any later
  79. # change in this file to the variables' values below will be ignored and
  80. # overridden by the content of the master.info file, unless you shutdown
  81. # the slave server, delete master.info and restart the slaver server.
  82. # For that reason, you may want to leave the lines below untouched
  83. # (commented) and instead use CHANGE MASTER TO (see above)
  84. #
  85. # required unique id between 2 and 2^32 - 1
  86. # (and different from the master)
  87. # defaults to 2 if master-host is set
  88. # but will not function as a slave if omitted
  89. #server-id = 2
  90. #
  91. # The replication master for this slave - required
  92. #master-host = <hostname>
  93. #
  94. # The username the slave will use for authentication when connecting
  95. # to the master - required
  96. #master-user = <username>
  97. #
  98. # The password the slave will authenticate with when connecting to
  99. # the master - required
  100. #master-password = <password>
  101. #
  102. # The port the master is listening on.
  103. # optional - defaults to 3306
  104. #master-port = <port>
  105. #
  106. # binary logging - not required for slaves, but recommended
  107. #log-bin=mysql-bin
  108. # Uncomment the following if you are using InnoDB tables
  109. #innodb_data_home_dir = C:\\mysql\\data\\
  110. #innodb_data_file_path = ibdata1:10M:autoextend
  111. #innodb_log_group_home_dir = C:\\mysql\\data\\
  112. # You can set .._buffer_pool_size up to 50 - 80 %
  113. # of RAM but beware of setting memory usage too high
  114. #innodb_buffer_pool_size = 16M
  115. #innodb_additional_mem_pool_size = 2M
  116. # Set .._log_file_size to 25 % of buffer pool size
  117. #innodb_log_file_size = 5M
  118. #innodb_log_buffer_size = 8M
  119. #innodb_flush_log_at_trx_commit = 1
  120. #innodb_lock_wait_timeout = 50
  121. [mysqldump]
  122. quick
  123. max_allowed_packet = 16M
  124. [mysql]
  125. no-auto-rehash
  126. # Remove the next comment character if you are not familiar with SQL
  127. #safe-updates
  128. [myisamchk]
  129. key_buffer_size = 20M
  130. sort_buffer_size = 20M
  131. read_buffer = 2M
  132. write_buffer = 2M
  133. [mysqlhotcopy]
  134. interactive-timeout