my-small.cnf.sh
上传用户:tsgydb
上传日期:2007-04-14
资源大小:10674k
文件大小:2k
源码类别:

MySQL数据库

开发平台:

Visual C++

  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 deamon
  5. # doesn't use much resources.
  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 @localstatedir@) 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. # The following options will be passed to all MySQL clients
  17. [client]
  18. #password = your_password
  19. port = @MYSQL_TCP_PORT@
  20. socket = @MYSQL_UNIX_ADDR@
  21. # Here follows entries for some specific programs
  22. # The MySQL server
  23. [mysqld]
  24. port = @MYSQL_TCP_PORT@
  25. socket = @MYSQL_UNIX_ADDR@
  26. skip-locking
  27. set-variable = key_buffer=16K
  28. set-variable = max_allowed_packet=1M
  29. set-variable = thread_stack=64K
  30. set-variable = table_cache=4
  31. set-variable = sort_buffer=64K
  32. set-variable = net_buffer_length=2K
  33. server-id = 1
  34. # Uncomment the following if you want to log updates
  35. #log-bin
  36. # Uncomment the following if you are NOT using BDB tables
  37. #skip-bdb
  38. # Uncomment the following if you are using Innobase tables
  39. #innobase_data_home_dir = @datadir@
  40. #innobase_log_group_home_dir = @datadir@
  41. #innobase_log_arch_dir = @datadir@
  42. #innobase_data_file_path = ibdata1:25M;ibdata2:37M;ibdata3:100M;ibdata4:300M
  43. #set-variable = innobase_mirrored_log_groups=1
  44. #set-variable = innobase_log_files_in_group=3
  45. #set-variable = innobase_log_file_size=5M
  46. #set-variable = innobase_log_buffer_size=8M
  47. #innobase_flush_log_at_trx_commit=1
  48. #innobase_log_archive=0
  49. #set-variable = innobase_buffer_pool_size=16M
  50. #set-variable = innobase_additional_mem_pool_size=2M
  51. #set-variable = innobase_file_io_threads=4
  52. #set-variable = innobase_lock_wait_timeout=50
  53. [mysqldump]
  54. quick
  55. set-variable = max_allowed_packet=16M
  56. [mysql]
  57. no-auto-rehash
  58. # Remove the next comment character if you are not familiar with SQL
  59. #safe-updates
  60. [isamchk]
  61. set-variable = key_buffer=8M
  62. set-variable = sort_buffer=8M
  63. [myisamchk]
  64. set-variable = key_buffer=8M
  65. set-variable = sort_buffer=8M
  66. [mysqlhotcopy]
  67. interactive-timeout