home *** CD-ROM | disk | FTP | other *** search
/ Cricao de Sites - 650 Layouts Prontos / WebMasters.iso / Servidores / xampp-win32-1.6.7-installer.exe / mysql / bin / my_example.cnf < prev    next >
Text File  |  2007-12-20  |  3KB  |  103 lines

  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 daemon
  5. # doesn't use much resources.
  6. #
  7. # You can copy this file to
  8. # /xampp/mysql/bin/my.cnf to set global options,
  9. # mysql-data-dir/my.cnf to set server-specific options (in this
  10. # installation this directory is /xampp/mysql/data) or
  11. # ~/.my.cnf to set user-specific options.
  12. #
  13. # In this file, you can use all long options that a program supports.
  14. # If you want to know which options a program supports, run the program
  15. # with the "--help" option.
  16.  
  17. # The following options will be passed to all MySQL clients
  18. [client] 
  19. # password       = your_password 
  20. port            = 3306 
  21. socket          = mysql 
  22.  
  23. # Here follows entries for some specific programs 
  24.  
  25. # The MySQL server 
  26. [mysqld] 
  27. basedir=/xampp/mysql 
  28. tmpdir=/xampp/tmp 
  29. datadir=/xampp/mysql/data 
  30.  
  31. port            = 3306 
  32. socket          = mysql 
  33.  
  34. old-passwords 
  35. character-set-server = latin1
  36. collation-server = latin1_general_ci
  37.  
  38. skip-locking
  39. key_buffer = 16K
  40. max_allowed_packet = 1M
  41. table_cache = 4
  42. sort_buffer_size = 64K
  43. read_buffer_size = 256K
  44. read_rnd_buffer_size = 256K
  45. net_buffer_length = 2K
  46. thread_stack = 64K
  47.  
  48. # Don't listen on a TCP/IP port at all. This can be a security enhancement,
  49. # if all processes that need to connect to mysqld run on the same host.
  50. # All interaction with mysqld must be made via Unix sockets or named pipes.
  51. # Note that using this option without enabling named pipes on Windows
  52. # (using the "enable-named-pipe" option) will render mysqld useless!
  53. #skip-networking
  54. server-id    = 1
  55.  
  56. # Uncomment the following if you want to log updates
  57. #log-bin=/xampp/mysql/data/mysql-bin
  58.  
  59. # Uncomment the following if you are NOT using BDB tables
  60. skip-bdb
  61.  
  62. skip-innodb 
  63. # Uncomment the following if you are using InnoDB tables 
  64. #innodb_data_home_dir = /xampp/mysql/data/
  65. #innodb_data_file_path = ibdata1:10M:autoextend 
  66. #innodb_log_group_home_dir = /xampp/mysql/data/
  67. #innodb_log_arch_dir = /xampp/mysql/data/
  68. # You can set .._buffer_pool_size up to 50 - 80 % 
  69. # of RAM but beware of setting memory usage too high 
  70. #set-variable = innodb_buffer_pool_size=16M 
  71. #set-variable = innodb_additional_mem_pool_size=2M 
  72. # Set .._log_file_size to 25 % of buffer pool size 
  73. #set-variable = innodb_log_file_size=5M 
  74. #set-variable = innodb_log_buffer_size=8M 
  75. #innodb_flush_log_at_trx_commit=1 
  76. #set-variable = innodb_lock_wait_timeout=50 
  77.  
  78. [mysqldump] 
  79. quick 
  80. max_allowed_packet=16M 
  81.  
  82. [mysql] 
  83. no-auto-rehash 
  84. # Remove the next comment character if you are not familiar with SQL 
  85. #safe-updates 
  86.  
  87. [isamchk] 
  88. key_buffer = 8M
  89. sort_buffer_size = 8M
  90.  
  91. [myisamchk] 
  92. key_buffer = 8M
  93. sort_buffer_size = 8M
  94.  
  95. [mysqlhotcopy] 
  96. interactive-timeout 
  97.  
  98. [WinMySQLadmin] 
  99. Server=/xampp/mysql/bin/mysqld.exe
  100. #user=root
  101. #password=
  102.