home *** CD-ROM | disk | FTP | other *** search
/ PC World 2003 July & August / PCWorld_2003-07-08_cd.bin / Software / Vyzkuste / mysql / data1.cab / Servers / my-medium.cnf < prev    next >
Text File  |  2003-05-17  |  2KB  |  84 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=16M
  21. set-variable    = max_allowed_packet=1M
  22. set-variable    = table_cache=64
  23. set-variable    = sort_buffer=512K
  24. set-variable    = net_buffer_length=8K
  25. set-variable    = myisam_sort_buffer_size=8M
  26. server-id    = 1
  27.  
  28. # Uncomment the following if you want to log updates
  29. #log-bin
  30.  
  31. # Uncomment the following rows if you move the MySQL distribution to another
  32. # location
  33. #basedir = d:/mysql/
  34. #datadir = d:/mysql/data/
  35.  
  36.  
  37. # Uncomment the following if you are NOT using BDB tables
  38. #skip-bdb
  39.  
  40. # Uncomment the following if you are using BDB tables
  41. #set-variable    = bdb_cache_size=4M
  42. #set-variable    = bdb_max_lock=10000
  43.  
  44. # Uncomment the following if you are using Innobase tables
  45. #innodb_data_file_path = ibdata1:400M
  46. #innodb_data_home_dir = c:\ibdata
  47. #innodb_log_group_home_dir = c:\iblogs
  48. #innodb_log_arch_dir = c:\iblogs
  49. #set-variable = innodb_mirrored_log_groups=1
  50. #set-variable = innodb_log_files_in_group=3
  51. #set-variable = innodb_log_file_size=5M
  52. #set-variable = innodb_log_buffer_size=8M
  53. #innodb_flush_log_at_trx_commit=1
  54. #innodb_log_archive=0
  55. #set-variable = innodb_buffer_pool_size=16M
  56. #set-variable = innodb_additional_mem_pool_size=2M
  57. #set-variable = innodb_file_io_threads=4
  58. #set-variable = innodb_lock_wait_timeout=50
  59.  
  60. [mysqldump]
  61. quick
  62. set-variable    = max_allowed_packet=16M
  63.  
  64. [mysql]
  65. no-auto-rehash
  66. # Remove the next comment character if you are not familiar with SQL
  67. #safe-updates
  68.  
  69. [isamchk]
  70. set-variable    = key_buffer=20M
  71. set-variable    = sort_buffer=20M
  72. set-variable    = read_buffer=2M
  73. set-variable    = write_buffer=2M
  74.  
  75. [myisamchk]
  76. set-variable    = key_buffer=20M
  77. set-variable    = sort_buffer=20M
  78. set-variable    = read_buffer=2M
  79. set-variable    = write_buffer=2M
  80.  
  81. [mysqlhotcopy]
  82. interactive-timeout
  83.