home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 21 / AACD 21.iso / AACD / Utilities / MySql / support-files / my-medium.cnf < prev    next >
Encoding:
Text File  |  2001-01-01  |  2.5 KB  |  86 lines

  1. # Example mysql config file for medium systems.
  2. #
  3. # This is for a system with little memory (32M - 64M) where MySQL plays
  4. # a important part and systems up to 128M very MySQL is used together with
  5. # other programs (like a web server)
  6. #
  7. # You can copy this file to
  8. # /etc/mf.cnf to set global options,
  9. # mysql-data-dir/my.cnf to set server-specific options (in this
  10. # installation this directory is /usr/local/var) or
  11. # ~/.my.cnf to set user-specific options.
  12. #
  13. # One can in this file use all long options that the program supports.
  14. # If you want to know which options a program support, run the program
  15. # with --help option.
  16.  
  17. # The following options will be passed to all MySQL clients
  18. [client]
  19. #password    = your_password
  20. port        = 3306
  21. socket        = /tmp/mysql.sock
  22.  
  23. # Here follows entries for some specific programs
  24.  
  25. # The MySQL server
  26. [mysqld]
  27. port        = 3306
  28. socket        = /tmp/mysql.sock
  29. skip-locking
  30. set-variable    = key_buffer=16M
  31. set-variable    = max_allowed_packet=1M
  32. set-variable    = table_cache=64
  33. set-variable    = sort_buffer=512K
  34. set-variable    = net_buffer_length=8K
  35. set-variable    = myisam_sort_buffer_size=8M
  36. log-bin
  37. server-id    = 1
  38.  
  39. # Point the following paths to different dedicated disks
  40. #tmpdir        = /tmp/        
  41. #log-update     = /path-to-dedicated-directory/hostname
  42.  
  43. # Uncomment the following if you are using BDB tables
  44. #set-variable    = bdb_cache_size=4M
  45. #set-variable    = bdb_max_lock=10000
  46.  
  47. # Uncomment the following if you are using Innobase tables
  48. #innodb_data_home_dir = /usr/local/var/
  49. #innodb_log_group_home_dir = /usr/local/var/
  50. #innodb_log_arch_dir = /usr/local/var/
  51. #innodb_data_file_path = ibdata1:25M;ibdata2:37M;ibdata3:100M;ibdata4:300M
  52. #set-variable = innodb_mirrored_log_groups=1
  53. #set-variable = innodb_log_files_in_group=3
  54. #set-variable = innodb_log_file_size=5M
  55. #set-variable = innodb_log_buffer_size=8M
  56. #innodb_flush_log_at_trx_commit=1
  57. #innodb_log_archive=0
  58. #set-variable = innodb_buffer_pool_size=16M
  59. #set-variable = innodb_additional_mem_pool_size=2M
  60. #set-variable = innodb_file_io_threads=4
  61. #set-variable = innodb_lock_wait_timeout=50
  62.  
  63. [mysqldump]
  64. quick
  65. set-variable    = max_allowed_packet=16M
  66.  
  67. [mysql]
  68. no-auto-rehash
  69. # Remove the next comment character if you are not familiar with SQL
  70. #safe-updates
  71.  
  72. [isamchk]
  73. set-variable    = key_buffer=20M
  74. set-variable    = sort_buffer=20M
  75. set-variable    = read_buffer=2M
  76. set-variable    = write_buffer=2M
  77.  
  78. [myisamchk]
  79. set-variable    = key_buffer=20M
  80. set-variable    = sort_buffer=20M
  81. set-variable    = read_buffer=2M
  82. set-variable    = write_buffer=2M
  83.  
  84. [mysqlhotcopy]
  85. interactive-timeout
  86.