Guest User

Untitled

a guest
May 24th, 2024
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
INI file 5.18 KB | Software | 0 0
  1. ; MySQL config file.
  2. ;
  3. ; MySQL programs look for option files in a set of
  4. ; locations which depend on the deployment platform.
  5. ; You can copy this option file to one of those
  6. ; locations. For information about these locations, see:
  7. ; http://dev.mysql.com/doc/mysql/en/option-files.html
  8. ;
  9. ; In this file, you can use all long options that a program supports.
  10. ; If you want to know which options a program supports, run the program
  11. ; with the "--help" option.
  12.  
  13. ; The following options will be passed to all MySQL clients
  14. [client]
  15. port=3306
  16. socket=/tmp/mysql.sock
  17.  
  18. ; Here follows entries for some specific programs
  19. ; The MySQL server used as a service
  20. ; https://dev.mysql.com/doc/refman/8.0/en/windows-start-service.html
  21. ; If the service-installation command specifies a service name other
  22. ; than MySQL following the --install option, the server uses that
  23. ; service name. It reads options from the [mysqld] group and the group
  24. ; that has the same name as the service in the standard option files.
  25. ; This enables you to use the [mysqld] group for options that should
  26. ; be used by all MySQL services, and an option group with the service
  27. ; name for use by the server installed with that service name.
  28. ; This [...] section has the name of the service
  29.  
  30.  
  31.  
  32. [mysqldump]
  33. quick
  34. max_allowed_packet=64M
  35.  
  36. [mysql]
  37. no_auto_rehash
  38. ; Remove the next comment character if you are not familiar with SQL
  39. ;safe_updates
  40.  
  41. [isamchk]
  42. key_buffer_size=20M
  43. sort_buffer_size=20M
  44. read_buffer_size=2M
  45. write_buffer_size=2M
  46.  
  47. [myisamchk]
  48. key_buffer_size=20M
  49. sort_buffer_size_size=20M
  50. read_buffer_size=2M
  51. write_buffer_size=2M
  52.  
  53. [mysqlhotcopy]
  54. interactive_timeout
  55.  
  56. [mysqld]
  57. default_authentication_plugin=mysql_native_password
  58. port=3306
  59. ;skip_grant_tables
  60. ;shared_memory=on
  61. socket=/tmp/mysql.sock
  62. key_buffer_size=256M
  63. max_allowed_packet=64M
  64.  
  65. ; Added to reduce memory used (minimum is 400)
  66. ; See Documentation:
  67. ; https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_table_definition_cache
  68. table_definition_cache=600
  69.  
  70. sort_buffer_size=16M
  71. net_buffer_length=8K
  72. read_buffer_size=2M
  73. read_rnd_buffer_size=2M
  74. myisam_sort_buffer_size=64M
  75. ;Path to mysql install directory
  76. basedir="F:/mysql-8.0.37-winx64-debug-test/mysql-8.0.37-winx64"
  77. log_error="F:/mysql-8.0.37-winx64-debug-test/mysql-8.0.37-winx64/mysql.log"
  78. ;Verbosity Value  1 Errors only, 2  Errors and warnings , 3 Errors, warnings, and notes
  79. log_error_verbosity=3
  80. ;Path to data directory
  81. datadir="F:/mysql-8.0.37-winx64-debug-test/mysql-8.0.37-winx64/data"
  82.  
  83. ;Path to the language
  84. ;See Documentation:
  85. ; http://dev.mysql.com/doc/refman/8.0/en/error-message-language.html
  86. lc_messages_dir="F:/mysql-8.0.37-winx64-debug-test/mysql-8.0.37-winx64/share"
  87. lc_messages=en_US
  88.  
  89. ; Default storage engine that will be used if the engine is not specified when creating tables.
  90. ; This does not prevent the creation of InnoDB tables, just specify ENGINE=InnoDB
  91. ;default_storage_engine=MYISAM
  92. default_storage_engine=InnoDB
  93.  
  94. ;Disabling X Plugin
  95. mysqlx=0
  96. ;To avoid warning messages
  97. skip_ssl
  98. secure_file_priv="F:/mysql-8.0.37-winx64-debug-test/mysql-8.0.37-winx64/tmp"
  99.  
  100. explicit_defaults_for_timestamp=true
  101.  
  102. ; Set the SQL mode. See Documentation:
  103. ; https://dev.mysql.com/doc/refman/8.0/en/sql_mode.html
  104. sql_mode=""
  105. ;sql_mode="STRICT_ALL_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_ZERO_DATE,NO_ZERO_IN_DATE"
  106.  
  107. ; Disable Federated by default
  108. skip_federated
  109.  
  110. ; Replication Master Server (default)
  111. ; binary logging is required for replication
  112. skip_log_bin
  113. ;log_bin="c:/wamp64/logs/mysql-bin"
  114.  
  115. ; binary logging format - mixed recommended
  116. ;binlog_format=mixed
  117.  
  118. ; required unique id between 1 and 2^32 - 1
  119. ; defaults to 1 if master-host is not set
  120. ; but will not function as a master if omitted
  121. server_id=1
  122.  
  123. ; Replication Slave (comment out master section to use this)
  124.  
  125. ; New for MySQL 5.6 if no slave
  126. skip_slave_start
  127.  
  128. ; The InnoDB tablespace encryption feature relies on the keyring_file
  129. ; plugin for encryption key management, and the keyring_file plugin
  130. ; must be loaded prior to storage engine initialization to facilitate
  131. ; InnoDB recovery for encrypted tables. If you do not want to load the
  132. ; keyring_file plugin at server startup, specify an empty string.
  133. early_plugin_load=""
  134.  
  135. innodb_adaptive_hash_index=on
  136. innodb_buffer_pool_dump_now=off
  137. innodb_buffer_pool_dump_at_shutdown=off
  138. innodb_buffer_pool_instances=2
  139. innodb_buffer_pool_load_at_startup=off
  140. innodb_buffer_pool_size=1G
  141. innodb_data_file_path=ibdata1:12M:autoextend:max:500M
  142. innodb_default_row_format=compact
  143. innodb_doublewrite=on
  144. ;skip_innodb_doublewrite
  145. innodb_file_per_table=1
  146. innodb_flush_log_at_trx_commit=1
  147. innodb_flush_method=normal
  148. ;innodb_force_recovery=1
  149. innodb_ft_enable_stopword=off
  150. innodb_ft_max_token_size=10
  151. innodb_ft_min_token_size=0
  152. innodb_io_capacity=2000
  153. innodb_max_dirty_pages_pct=90
  154. innodb_lock_wait_timeout=600
  155. innodb_log_buffer_size=16M
  156. innodb_log_file_size=20M
  157. innodb_log_files_in_group=2
  158. innodb_max_dirty_pages_pct=80
  159. innodb_optimize_fulltext_only=1
  160. innodb_page_size=16K
  161. innodb_purge_threads=10
  162. innodb_read_io_threads=10
  163. innodb_stats_on_metadata=0
  164. ;innodb_strict_mode=off
  165. innodb_thread_concurrency=16
  166. innodb_undo_log_truncate=on
  167. innodb_write_io_threads=4
  168.  
Tags: mysql mysqld
Advertisement
Add Comment
Please, Sign In to add comment