THIS IS A TEST INSTANCE ONLY! REPOSITORIES CAN BE DELETED AT ANY TIME!

test
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

101 lines
2.9 KiB

  1. # Example MySQL config file for small systems.
  2. #
  3. # This is for a system with little memory (<= 64M) where MySQL is only used
  4. # from time to time and it's important that the mysqld daemon
  5. # doesn't use much resources.
  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. port = 3306
  25. socket = /tmp/mysql.sock
  26. skip-external-locking
  27. key_buffer_size = 16K
  28. max_allowed_packet = 1M
  29. table_open_cache = 4
  30. sort_buffer_size = 64K
  31. read_buffer_size = 256K
  32. read_rnd_buffer_size = 256K
  33. net_buffer_length = 2K
  34. thread_stack = 240K
  35. innodb_large_prefix = ON
  36. innodb_file_format = barracuda
  37. #General Query Log
  38. general_log
  39. #Error Log
  40. #Slow Query Log
  41. slow_query_log = 1
  42. log-queries-not-using-indexes
  43. # Don't listen on a TCP/IP port at all. This can be a security enhancement,
  44. # if all processes that need to connect to mysqld run on the same host.
  45. # All interaction with mysqld must be made via Unix sockets or named pipes.
  46. # Note that using this option without enabling named pipes on Windows
  47. # (using the "enable-named-pipe" option) will render mysqld useless!
  48. #
  49. #skip-networking
  50. server-id = 1
  51. # Uncomment the following if you want to log updates
  52. #log-bin=mysql-bin
  53. # binary logging format - mixed recommended
  54. #binlog_format=mixed
  55. # Causes updates to non-transactional engines using statement format to be
  56. # written directly to binary log. Before using this option make sure that
  57. # there are no dependencies between transactional and non-transactional
  58. # tables such as in the statement INSERT INTO t_myisam SELECT * FROM
  59. # t_innodb; otherwise, slaves may diverge from the master.
  60. #binlog_direct_non_transactional_updates=TRUE
  61. # Uncomment the following if you are using InnoDB tables
  62. #innodb_data_home_dir = /usr/local/var/mysql
  63. #innodb_data_file_path = ibdata1:10M:autoextend
  64. #innodb_log_group_home_dir = /var/log/mysql
  65. # You can set .._buffer_pool_size up to 50 - 80 %
  66. # of RAM but beware of setting memory usage too high
  67. #innodb_buffer_pool_size = 16M
  68. #innodb_additional_mem_pool_size = 2M
  69. # Set .._log_file_size to 25 % of buffer pool size
  70. #innodb_log_file_size = 5M
  71. #innodb_log_buffer_size = 8M
  72. #innodb_flush_log_at_trx_commit = 1
  73. #innodb_lock_wait_timeout = 50
  74. [mysqldump]
  75. quick
  76. max_allowed_packet = 16M
  77. [mysql]
  78. no-auto-rehash
  79. # Remove the next comment character if you are not familiar with SQL
  80. #safe-updates
  81. [myisamchk]
  82. key_buffer_size = 8M
  83. sort_buffer_size = 8M
  84. [mysqlhotcopy]
  85. interactive-timeout