home *** CD-ROM | disk | FTP | other *** search
/ Internet Magazine 2003 October / INTERNET108.ISO / pc / software / windows / building / mysql / data1.cab / Servers / my-large.cnf < prev    next >
Encoding:
Text File  |  2003-05-17  |  2.2 KB  |  82 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=256M
  21. set-variable    = max_allowed_packet=1M
  22. set-variable    = table_cache=256
  23. set-variable    = sort_buffer=1M
  24. set-variable    = record_buffer=1M
  25. set-variable    = myisam_sort_buffer_size=64M
  26. set-variable    = thread_cache=8
  27. # Try number of CPU's*2 for thread_concurrency
  28. set-variable    = thread_concurrency=8
  29. log-bin
  30. server-id    = 1
  31.  
  32. # Uncomment the following rows if you move the MySQL distribution to another
  33. # location
  34. #basedir = d:/mysql/
  35. #datadir = d:/mysql/data/
  36.  
  37. # Uncomment the following if you are using BDB tables
  38. #set-variable    = bdb_cache_size=64M
  39. #set-variable    = bdb_max_lock=100000
  40.  
  41. # Uncomment the following if you are using Innobase tables
  42. #innodb_data_file_path = ibdata1:1000M
  43. #innodb_data_home_dir = c:\ibdata
  44. #innodb_log_group_home_dir = c:\iblogs
  45. #innodb_log_arch_dir = c:\iblogs
  46. #set-variable = innodb_mirrored_log_groups=1
  47. #set-variable = innodb_log_files_in_group=3
  48. #set-variable = innodb_log_file_size=5M
  49. #set-variable = innodb_log_buffer_size=8M
  50. #innodb_flush_log_at_trx_commit=1
  51. #innodb_log_archive=0
  52. #set-variable = innodb_buffer_pool_size=16M
  53. #set-variable = innodb_additional_mem_pool_size=2M
  54. #set-variable = innodb_file_io_threads=4
  55. #set-variable = innodb_lock_wait_timeout=50
  56.  
  57.  
  58. [mysqldump]
  59. quick
  60. set-variable    = max_allowed_packet=16M
  61.  
  62. [mysql]
  63. no-auto-rehash
  64. # Remove the next comment character if you are not familiar with SQL
  65. #safe-updates
  66.  
  67. [isamchk]
  68. set-variable    = key_buffer=128M
  69. set-variable    = sort_buffer=128M
  70. set-variable    = read_buffer=2M
  71. set-variable    = write_buffer=2M
  72.  
  73. [myisamchk]
  74. set-variable    = key_buffer=128M
  75. set-variable    = sort_buffer=128M
  76. set-variable    = read_buffer=2M
  77. set-variable    = write_buffer=2M
  78.  
  79. [mysqlhotcopy]
  80. interactive-timeout
  81.