my-medium.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=16M
  18. set-variable = max_allowed_packet=1M
  19. set-variable = table_cache=64
  20. set-variable = sort_buffer=512K
  21. set-variable = net_buffer_length=8K
  22. set-variable = myisam_sort_buffer_size=8M
  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 BDB tables
  33. #set-variable = bdb_cache_size=4M
  34. #set-variable = bdb_max_lock=10000
  35. # Uncomment the following if you are using Innobase tables
  36. #innodb_data_file_path = ibdata1:400M
  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=20M
  59. set-variable = sort_buffer=20M
  60. set-variable = read_buffer=2M
  61. set-variable = write_buffer=2M
  62. [myisamchk]
  63. set-variable = key_buffer=20M
  64. set-variable = sort_buffer=20M
  65. set-variable = read_buffer=2M
  66. set-variable = write_buffer=2M
  67. [mysqlhotcopy]
  68. interactive-timeout