home *** CD-ROM | disk | FTP | other *** search
/ Internet Magazine 2003 October / INTERNET108.ISO / pc / software / windows / building / mysql / data1.cab / Servers / my-huge.cnf next >
Encoding:
Text File  |  2003-05-17  |  2.3 KB  |  87 lines

  1. # Example mysql config file.
  2. # Copy this file to c:\my.cnf to set global options
  3. # One can use all long options that the program supports.
  4. # Run the program with --help to get a list of available options
  5.  
  6. # This will be passed to all mysql clients
  7. [client]
  8. #password=my_password
  9. port=3306
  10. #socket=MySQL
  11.  
  12. # Here is entries for some specific programs
  13. # The following values assume you have at least 32M ram
  14.  
  15. # The MySQL server
  16. [mysqld]
  17. port=3306
  18. #socket=MySQL
  19. skip-locking
  20. set-variable    = key_buffer=384M
  21. set-variable    = max_allowed_packet=1M
  22. set-variable    = table_cache=512
  23. set-variable    = sort_buffer=2M
  24. set-variable    = record_buffer=2M
  25. set-variable    = thread_cache=8
  26. # Try number of CPU's*2 for thread_concurrency
  27. set-variable    = thread_concurrency=8
  28. set-variable    = myisam_sort_buffer_size=64M
  29. server-id    = 1
  30.  
  31. # Uncomment the following if you want to log updates
  32. #log-bin
  33.  
  34. # Uncomment the following rows if you move the MySQL distribution to another
  35. # location
  36. #basedir = d:/mysql/
  37. #datadir = d:/mysql/data/
  38.  
  39.  
  40. # Uncomment the following if you are NOT using BDB tables
  41. #skip-bdb
  42.  
  43. # Uncomment the following if you are using BDB tables
  44. #set-variable    = bdb_cache_size=384M
  45. #set-variable    = bdb_max_lock=100000
  46.  
  47. # Uncomment the following if you are using Innobase tables
  48. #innodb_data_file_path = ibdata1:2000M;ibdata2:2000M
  49. #innodb_data_home_dir = c:\ibdata
  50. #innodb_log_group_home_dir = c:\iblogs
  51. #innodb_log_arch_dir = c:\iblogs
  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=256M
  74. set-variable    = sort_buffer=256M
  75. set-variable    = read_buffer=2M
  76. set-variable    = write_buffer=2M
  77.  
  78. [myisamchk]
  79. set-variable    = key_buffer=256M
  80. set-variable    = sort_buffer=256M
  81. set-variable    = read_buffer=2M
  82. set-variable    = write_buffer=2M
  83.  
  84. [mysqlhotcopy]
  85. interactive-timeout
  86.