my-large.cnf
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:2k
源码类别:

模拟服务器

开发平台:

C/C++

  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. # This will be passed to all mysql clients
  6. [client]
  7. #password=my_password
  8. port=3306
  9. #socket=MySQL
  10. # Here is entries for some specific programs
  11. # The following values assume you have at least 32M ram
  12. # The MySQL server
  13. [mysqld]
  14. port=3306
  15. #socket=MySQL
  16. skip-locking
  17. set-variable = key_buffer=256M
  18. set-variable = max_allowed_packet=1M
  19. set-variable = table_cache=256
  20. set-variable = sort_buffer=1M
  21. set-variable = record_buffer=1M
  22. set-variable = myisam_sort_buffer_size=64M
  23. set-variable = thread_cache=8
  24. # Try number of CPU's*2 for thread_concurrency
  25. set-variable = thread_concurrency=8
  26. log-bin
  27. server-id = 1
  28. # Uncomment the following rows if you move the MySQL distribution to another
  29. # location
  30. #basedir = d:/mysql/
  31. #datadir = d:/mysql/data/
  32. # Uncomment the following if you are using BDB tables
  33. #set-variable = bdb_cache_size=64M
  34. #set-variable = bdb_max_lock=100000
  35. # Uncomment the following if you are using Innobase tables
  36. #innodb_data_file_path = ibdata1:1000M
  37. #innodb_data_home_dir = c:ibdata
  38. #innodb_log_group_home_dir = c:iblogs
  39. #innodb_log_arch_dir = c:iblogs
  40. #set-variable = innodb_mirrored_log_groups=1
  41. #set-variable = innodb_log_files_in_group=3
  42. #set-variable = innodb_log_file_size=5M
  43. #set-variable = innodb_log_buffer_size=8M
  44. #innodb_flush_log_at_trx_commit=1
  45. #innodb_log_archive=0
  46. #set-variable = innodb_buffer_pool_size=16M
  47. #set-variable = innodb_additional_mem_pool_size=2M
  48. #set-variable = innodb_file_io_threads=4
  49. #set-variable = innodb_lock_wait_timeout=50
  50. [mysqldump]
  51. quick
  52. set-variable = max_allowed_packet=16M
  53. [mysql]
  54. no-auto-rehash
  55. # Remove the next comment character if you are not familiar with SQL
  56. #safe-updates
  57. [isamchk]
  58. set-variable = key_buffer=128M
  59. set-variable = sort_buffer=128M
  60. set-variable = read_buffer=2M
  61. set-variable = write_buffer=2M
  62. [myisamchk]
  63. set-variable = key_buffer=128M
  64. set-variable = sort_buffer=128M
  65. set-variable = read_buffer=2M
  66. set-variable = write_buffer=2M
  67. [mysqlhotcopy]
  68. interactive-timeout