my-small.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=16K
  18. set-variable = max_allowed_packet=1M
  19. set-variable = thread_stack=64K
  20. set-variable = table_cache=4
  21. set-variable = sort_buffer=64K
  22. set-variable = net_buffer_length=2K
  23. server-id = 1
  24. # Uncomment the following if you want to log updates
  25. #log-bin
  26. # Uncomment the following rows if you move the MySQL distribution to another
  27. # location
  28. #basedir = d:/mysql/
  29. #datadir = d:/mysql/data/
  30. # Uncomment the following if you are NOT using BDB tables
  31. #skip-bdb
  32. # Uncomment the following if you are using Innobase tables
  33. #innodb_data_file_path = ibdata1:100M
  34. #innodb_data_home_dir = c:ibdata
  35. #innodb_log_group_home_dir = c:iblogs
  36. #innodb_log_arch_dir = c:iblogs
  37. #set-variable = innodb_mirrored_log_groups=1
  38. #set-variable = innodb_log_files_in_group=3
  39. #set-variable = innodb_log_file_size=5M
  40. #set-variable = innodb_log_buffer_size=8M
  41. #innodb_flush_log_at_trx_commit=1
  42. #innodb_log_archive=0
  43. #set-variable = innodb_buffer_pool_size=16M
  44. #set-variable = innodb_additional_mem_pool_size=2M
  45. #set-variable = innodb_file_io_threads=4
  46. #set-variable = innodb_lock_wait_timeout=50
  47. [mysqldump]
  48. quick
  49. set-variable = max_allowed_packet=16M
  50. [mysql]
  51. no-auto-rehash
  52. # Remove the next comment character if you are not familiar with SQL
  53. #safe-updates
  54. [isamchk]
  55. set-variable = key_buffer=8M
  56. set-variable = sort_buffer=8M
  57. [myisamchk]
  58. set-variable = key_buffer=8M
  59. set-variable = sort_buffer=8M
  60. [mysqlhotcopy]
  61. interactive-timeout