diff --git a/Example/my.cnf.ND.5.7 b/Example/my.cnf.ND.5.7 index 2e9f0d2..ae5957a 100644 --- a/Example/my.cnf.ND.5.7 +++ b/Example/my.cnf.ND.5.7 @@ -15,7 +15,7 @@ # The following options will be passed to all MySQL clients [client] -port = 3306 +port = 3306 socket = /tmp/mysql.sock # Here follows entries for some specific programs @@ -24,15 +24,24 @@ socket = /tmp/mysql.sock # This was formally known as [safe_mysqld]. Both versions are currently parsed. [mysqld_safe] socket = /tmp/mysql.sock -nice = 0 +nice = 0 + +open-files-limit = 1048576 +innodb-open-files = 1048576 # The MySQL server [mysqld] -port = 3306 +port = 3306 socket = /tmp/mysql.sock -sql_mode = 'ONLY_FULL_GROUP_BY,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' + +## - sql_mode +## - +## - To be compartible with older programming on mysql 5.6 +## - +sql-mode = "ONLY_FULL_GROUP_BY,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION" + ## - skip_external_locking ## - @@ -119,7 +128,7 @@ server-id = 1 #log-bin=mysql-bin # # binary logging format - mixed recommended -#binlog_format=mixed +#binlog-format=mixed # Point the following paths to different dedicated disks #tmpdir = /tmp/ @@ -133,8 +142,8 @@ server-id = 1 ## - ## - Vorgabewert ist 100 ## - -#max_connections = 500 -max_connections = 300 +#max-connections = 500 +max-connections = 300 ## - explicit_defaults_for_timestamp @@ -151,7 +160,7 @@ max_connections = 300 ## - As indicated by the warning, to turn off the nonstandard behaviors, ## - enable the new . ## - -explicit_defaults_for_timestamp = TRUE +explicit-defaults-for-timestamp = TRUE ## - MySQL Fehlermeldungen @@ -191,7 +200,7 @@ low-priority-updates = 1 ## - in use by another thread. Otherwise, MySQL acquires a normal ## - write lock and inserts the row into the hole. ## - -concurrent_insert = 2 +concurrent-insert = 2 ## - open-files-limit @@ -203,9 +212,11 @@ concurrent_insert = 2 ## - ## - see also http://linux-vserver.org/Ulimit_Nofiles ## - -#open-files-limit = 8192 -open-files-limit = 16384 -#open_files_limit = 32768 +#open-files-limit = 16384 +#open-files-limit = 32768 + +open-files-limit = 1048576 +innodb-open-files = 1048576 ## ------------------------- @@ -217,15 +228,15 @@ open-files-limit = 16384 ## - InnoDB stores the data and indexes for each newly created table in a ## - separate .ibd file, rather than in the system tablespace. ## - -innodb_file_per_table +innodb-file-per-table = 1 ## - innodb_data_home_dir ## - ## - Default: MySQL data directory ## - -#innodb_data_home_dir = /data/mysql +#innodb-data-home-dir = /data/mysql -#innodb_data_file_path = ibdata1:2000M;ibdata2:10M:autoextend +#innodb-data-file-path = ibdata1:2000M;ibdata2:10M:autoextend ## - innodb_log_group_home_dir ## - @@ -237,7 +248,7 @@ innodb_file_per_table ## - data directory. Their size is given by the size of the ## - innodb_log_file_size system variable. ## - -#innodb_log_group_home_dir = /var/lib/mysql/ +#innodb-log-group-home-dir = /var/lib/mysql/ ## - innodb_buffer_pool_size ## - @@ -254,8 +265,9 @@ innodb_file_per_table ## - ## - default: 134217728 (128M) ## - -#innodb_buffer_pool_size = 384M -#innodb_buffer_pool_size = 1024M +#innodb-buffer-pool-size = 384M +#innodb-buffer-pool-size = 1024M +innodb-buffer-pool-size = 2048M ## - innodb_additional_mem_pool_size @@ -265,8 +277,8 @@ innodb_file_per_table ## - ## - Default: 8388608 (8M) ## - -#innodb_additional_mem_pool_size = 20M -#innodb_additional_mem_pool_size = 40M +#innodb-additional-mem-pool-size = 20M +#innodb-additional-mem-pool-size = 40M ## - innodb_buffer_pool_instances @@ -280,7 +292,7 @@ innodb_file_per_table ## - ## - Default: 1 ## - -#innodb_buffer_pool_instances = 1 +#innodb-buffer-pool-instances = 1 ## - innodb_log_file_size @@ -291,8 +303,8 @@ innodb_file_per_table ## - ## (Set .._log_file_size to 25 % of buffer pool size) ## - -#innodb_log_file_size = 100M -#innodb_log_file_size = 256M +#innodb-log-file-size = 100M +#innodb-log-file-size = 256M ## - innodb_log_buffer_size ## - @@ -301,8 +313,9 @@ innodb_file_per_table ## - ## - Default: 8388608 (8M) ## - -#innodb_log_buffer_size = 8M -#innodb_log_buffer_size = 32M +#innodb-log-buffer-size = 8M +#innodb-log-buffer-size = 32M +innodb-log-buffer-size = 32M ## - innodb_flush_log_at_trx_commit ## - @@ -314,8 +327,8 @@ innodb_file_per_table ## - ## - In case of extrem slowly restores set ## - -## - innodb_flush_log_at_trx_commit = 2 -## - innodb_log_file_size = 256M +## - innodb-flush-log-at-trx-commit = 2 +## - innodb-log-file-size = 256M ## - ## - Also try to add (befor DROP/CREATE/INSET Statements) to the dumpfile: ## - @@ -327,8 +340,8 @@ innodb_file_per_table ## - DROP TABLE IF EXISTS.. ## - ... ## - -#innodb_flush_log_at_trx_commit = 1 -#innodb_flush_log_at_trx_commit = 2 +#innodb-flush-log-at-trx-commit = 1 +#innodb-flush-log-at-trx-commit = 2 ## - innodb_lock_wait_timeout ## - @@ -337,7 +350,7 @@ innodb_file_per_table ## - ## - Default: 50 ## - -#innodb_lock_wait_timeout = 50 +#innodb-lock-wait-timeout = 50 ## InnoDB specific variables ## ------------------------- @@ -351,9 +364,9 @@ innodb_file_per_table ## - ## - Default: 2097152 (2M) ## - -#sort_buffer_size = 2M -#sort_buffer_size = 4M -sort_buffer_size = 16M +#sort-buffer-size = 2M +#sort-buffer-size = 4M +sort-buffer-size = 16M ## - key_buffer_size @@ -366,8 +379,8 @@ sort_buffer_size = 16M ## - ## - Default: 8388608 (8M) ## - -#key_buffer_size = 384M -key_buffer_size = 512M +#key-buffer-size = 384M +key-buffer-size = 512M ## - read_buffer_size @@ -378,9 +391,9 @@ key_buffer_size = 512M ## - ## - Default: 131072 (128K) ## - -#read_buffer_size = 2M -read_buffer_size= 8M -#read_buffer_size=16M +#read-buffer-size = 2M +read-buffer-size= 8M +#read-buffer-size=16M ## - read_rnd_buffer_size ## - @@ -389,7 +402,7 @@ read_buffer_size= 8M ## - ## - Default: 262144 (256K) ## - -read_rnd_buffer_size = 8M +read-rnd-buffer-size = 8M ## - myisam_sort_buffer_size @@ -400,7 +413,7 @@ read_rnd_buffer_size = 8M ## - ## - Default: 8388608 (8M) ## - -myisam_sort_buffer_size = 64M +myisam-sort-buffer-size = 64M ## - max_allowed_packet @@ -410,8 +423,8 @@ myisam_sort_buffer_size = 64M ## ## - Default: 4MB (MySQL 5.6.6), 1MB before that. ## - -#max_allowed_packet = 1M -max_allowed_packet = 64M +#max-allowed-packet = 1M +max-allowed-packet = 64M ## - table_open_cache @@ -425,8 +438,8 @@ max_allowed_packet = 64M ## - closed and reopened), then you should increase the value of the ## - table_open_cache variable. ## - -#table_open_cache = 512 -table_open_cache = 2560 +#table-open-cache = 512 +table-open-cache = 2560 ## - table_definition_cache ## - @@ -435,13 +448,13 @@ table_open_cache = 2560 ## - ## - Default: (400 + (table_open_cache / 2) since 5.6.8, 400 before ## - -table_definition_cache = 1680 +table-definition-cache = 1680 ## - max_connect_errors ## - ## - Default: 100 (5.6.6), 10 (before) ## - -max_connect_errors = 999999 +max-connect-errors = 999999 ## - thread_concurrency ## - @@ -454,7 +467,7 @@ max_connect_errors = 999999 ## - ## - (Try number of CPU's*2 for thread_concurrency) ## - -#thread_concurrency = 32 +#thread-concurrency = 32 ## - thread_cache_size ## - @@ -464,8 +477,8 @@ max_connect_errors = 999999 ## - ## - Default: 8 + (max_connections / 100) (5.6.8) , 0 (before) ## - -#thread_cache_size = 8 -thread_cache_size = 32 +#thread-cache-size = 8 +thread-cache-size = 32 ## - thread_stack ## - @@ -479,7 +492,7 @@ thread_cache_size = 32 ## - actions. ## - Default: 262144 (256K) ## - -thread_stack = 262144 +thread-stack = 262144 ## - Unbenutze Datenbank Engines deaktivieren @@ -513,15 +526,15 @@ log-error = /var/log/mysql/mysql.err ## - Notice! ## - if you set ## - [mysqld] -## - ft_min_word_len=3 +## - ft-min-word-len=3 ## - ## - you should also set ## - [myisamchk] -## - ft_min_word_len=3 +## - ft-min-word-len=3 ## - ## - ## - Vorgabewert ist 4 -ft_min_word_len = 3 +ft-min-word-len = 3 ## - ft_stopword_file ## - @@ -534,7 +547,7 @@ ft_min_word_len = 3 ## - Hinweis: Wird diese Variable geändern oder den Inhalt der Stoppwortdatei selbst, ## - müssen die FULLTEXT-Indizes neu erstellt werden (REPAIR TABLE tbl_name QUICK. ). ## - -ft_stopword_file = /usr/local/mysql/stopwords_utf8_iso8859-15.txt +ft-stopword-file = /usr/local/mysql/stopwords_utf8_iso8859-15.txt @@ -551,7 +564,7 @@ ft_stopword_file = /usr/local/mysql/stopwords_utf8_iso8859-15.txt ## - SELECT SQL_NO_CACHE beginnen. ## - 2 : speichert nur diejenigen Anweisungen im Cache, ## - die mit SELECT SQL_CACHE beginnen. -query_cache_type = 1 +query-cache-type = 1 ## - query_cache_limit @@ -561,9 +574,9 @@ query_cache_type = 1 ## - ## - Vorgeabewert ist 1Mbyte ## - -##query_cache_limit = 4M -#query_cache_limit = 8M -query_cache_limit = 16M +##query-cache-limit = 4M +#query-cache-limit = 8M +query-cache-limit = 16M ## - query_cache_min_res_unit @@ -582,7 +595,7 @@ query_cache_limit = 16M ## - ## - Vorgabewert ist 4Kbyte ## - -query_cache_min_res_unit = 8K +query-cache-min-res-unit = 8K ## - query_cache_size @@ -596,10 +609,10 @@ query_cache_min_res_unit = 8K ## - ## - Vorgabewert ist 0, d. h. der Abfrage-Cache ist vorgabeseitig deaktiviert. ## - -#query_cache_size = 32M -#query_cache_size = 512M -#query_cache_size = 768M -query_cache_size = 1024M +#query-cache-size = 32M +#query-cache-size = 512M +#query-cache-size = 768M +query-cache-size = 1024M ## - query cache ## ------------- @@ -615,7 +628,7 @@ query_cache_size = 1024M ## - ## - Vorgabewert ist 0 oder OFF ## - -slow_query_log = 1 +slow-query-log = 1 ## - long_query_time @@ -630,7 +643,7 @@ slow_query_log = 1 ## - ## - Vorgabewert ist 10 ## - -long_query_time = 1 +long-query-time = 1 ## - slow_query_log_file @@ -639,7 +652,7 @@ long_query_time = 1 ## - ## - Vorgabewert ist -slow.log ## - -slow_query_log_file = /var/log/mysql/mysql-slow.log +slow-query-log-file = /var/log/mysql/mysql-slow.log ## - log-queries-not-using-indexes @@ -649,8 +662,8 @@ slow_query_log_file = /var/log/mysql/mysql-slow.log ## - ## - Vorgabewert ist 0 ## - -#log_queries_not_using_indexes = 1 -log_queries_not_using_indexes = 0 +#log-queries-not-using-indexes = 1 +log-queries-not-using-indexes = 0 ## - slow queries ## -------------- @@ -671,9 +684,9 @@ log_queries_not_using_indexes = 0 ## - ## - Vorgabewert ist 128K ## - -#join_buffer_size = 384K -#join_buffer_size = 512K -join_buffer_size = 1M +#join-buffer-size = 384K +#join-buffer-size = 512K +join-buffer-size = 1M @@ -687,12 +700,12 @@ join_buffer_size = 1M ## - ## - Vorgabewert ist 16Mbyte ## - -#max_heap_table_size = 96M -#max_heap_table_size = 256M -#max_heap_table_size = 384M -#max_heap_table_size = 768M -#max_heap_table_size = 1024M -max_heap_table_size = 2048M +#max-heap-table-size = 96M +#max-heap-table-size = 256M +#max-heap-table-size = 384M +#max-heap-table-size = 768M +#max-heap-table-size = 1024M +max-heap-table-size = 2048M ## - tmp_table_size @@ -708,12 +721,12 @@ max_heap_table_size = 2048M ## - Note: ## - Effective in-memory tmp_table_size is limited to max_heap_table_size. ## - -#tmp_table_size = 96M -#tmp_table_size = 256M -#tmp_table_size = 512M -#tmp_table_size = 768M -#tmp_table_size = 1024M -tmp_table_size = 2048M +#tmp-table-size = 96M +#tmp-table-size = 256M +#tmp-table-size = 512M +#tmp-table-size = 768M +#tmp-table-size = 1024M +tmp-table-size = 2048M ## - angepasste Einstellungen @@ -722,8 +735,8 @@ tmp_table_size = 2048M [mysqldump] quick -#max_allowed_packet = 16M -max_allowed_packet = 32M +#max-allowed-packet = 16M +max-allowed-packet = 32M [mysql] no-auto-rehash @@ -731,10 +744,10 @@ no-auto-rehash #safe-updates [myisamchk] -key_buffer_size = 256M -sort_buffer_size = 256M -read_buffer = 2M -write_buffer = 2M +key-buffer-size = 512M +sort-buffer-size = 512M +read-buffer = 8M +write-buffer = 8M ## ------------------------------------------ @@ -747,15 +760,15 @@ write_buffer = 2M ## - Notice! ## - if you set ## - [mysqld] -## - ft_min_word_len=3 +## - ft-min-word-len=3 ## - ## - you should also set ## - [myisamchk] -## - ft_min_word_len=3 +## - ft-min-word-len=3 ## - ## - ## - Vorgabewert ist 4 -ft_min_word_len = 3 +ft-min-word-len = 3 ## - angepasste Einstellungen ## ------------------------------------------ @@ -765,5 +778,9 @@ ft_min_word_len = 3 interactive-timeout -sql_mode='ONLY_FULL_GROUP_BY,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' +## - sql_mode +## - +## - To be compartible with older programming on mysql 5.6 +## - +sql-mode = "ONLY_FULL_GROUP_BY,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION" diff --git a/install_mysql.sh b/install_mysql.sh index 74fd09c..d6209ec 100755 --- a/install_mysql.sh +++ b/install_mysql.sh @@ -40,7 +40,7 @@ install_additional_debian_packages=true _additional_debian_packages_mysql="" _additional_debian_packages_percona="libperconaserverclient20-dev" -_additional_debian_packages_mariadb="" +_additional_debian_packages_mariadb="libmariadbclient-dev-compat" _CRONTAB_BAKUP_FILE="$(mktemp)" @@ -2542,7 +2542,7 @@ if ! $UPDATE_MYSQL || $_new_cnf_needed ; then # The following options will be passed to all MySQL clients [client] -port = $MYSQL_PORT +port = $MYSQL_PORT socket = $MYSQL_UNIX_SOCKET # Here follows entries for some specific programs @@ -2551,26 +2551,26 @@ socket = $MYSQL_UNIX_SOCKET # This was formally known as [safe_mysqld]. Both versions are currently parsed. [mysqld_safe] socket = $MYSQL_UNIX_SOCKET -nice = 0 +nice = 0 open-files-limit = $(ulimit -Hn) -innodb_open_files = $(ulimit -Hn) +innodb-open-files = $(ulimit -Hn) # The MySQL server [mysqld] -port = $MYSQL_PORT +port = $MYSQL_PORT socket = $MYSQL_UNIX_SOCKET -## - sql-mode +## - sql_mode ## - ## - To be compartible with older programming on mysql 5.6 ## - sql-mode = \"ONLY_FULL_GROUP_BY,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION\" -## - secure-file-priv +## - secure_file_priv ## - ## - This variable is used to limit the effect of data import and export operations, ## - such as those performed by the LOAD DATA and SELECT ... INTO OUTFILE statements @@ -2603,7 +2603,7 @@ sql-mode = \"ONLY_FULL_GROUP_BY,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,N #secure-file-priv = \"\" -## - local-infile +## - local_infile ## - ## - This variable controls server-side LOCAL capability for LOAD DATA statements. ## - Depending on the local_infile setting, the server refuses or permits local data @@ -2723,10 +2723,10 @@ server-id = 1 ## - ## - Vorgabewert ist 100 ## - -#max_connections = 300 +#max-connections = 300 -## - explicit_defaults_for_timestamp +## - explicit-defaults_for_timestamp ## - ## - This variable was added in MySQL 5.6.6 ## - @@ -2740,7 +2740,7 @@ server-id = 1 ## - As indicated by the warning, to turn off the nonstandard behaviors, ## - enable the new . ## - -explicit_defaults_for_timestamp = TRUE +explicit-defaults-for-timestamp = TRUE ## - MySQL Fehlermeldungen @@ -2778,10 +2778,10 @@ low-priority-updates = 1 ## - in use by another thread. Otherwise, MySQL acquires a normal ## - write lock and inserts the row into the hole. ## - -concurrent_insert = 2 +concurrent-insert = 2 -## - open-files-limit +## - open_files_limit ## - ## - put the following lines into /etc/security/limits.conf ## - @@ -2791,7 +2791,7 @@ concurrent_insert = 2 ## - see also http://linux-vserver.org/Ulimit_Nofiles ## - open-files-limit = $(ulimit -Hn) -innodb_open_files = $(ulimit -Hn) +innodb-open-files = $(ulimit -Hn) ## ------------------------- @@ -2803,15 +2803,15 @@ innodb_open_files = $(ulimit -Hn) ## - InnoDB stores the data and indexes for each newly created table in a ## - separate .ibd file, rather than in the system tablespace. ## - -innodb_file_per_table = 1 +innodb-file-per-table = 1 ## - innodb_data_home_dir ## - ## - Default: MySQL data directory ## - -#innodb_data_home_dir = /data/mysql +#innodb-data-home-dir = /data/mysql -#innodb_data_file_path = ibdata1:2000M;ibdata2:10M:autoextend +#innodb-data-file-path = ibdata1:2000M;ibdata2:10M:autoextend ## - innodb_log_group_home_dir ## - @@ -2823,7 +2823,7 @@ innodb_file_per_table = 1 ## - data directory. Their size is given by the size of the ## - innodb_log_file_size system variable. ## - -#innodb_log_group_home_dir = /var/lib/mysql/ +#innodb_log-group-home-dir = /var/lib/mysql/ ## - innodb_buffer_pool_size ## - @@ -2840,8 +2840,8 @@ innodb_file_per_table = 1 ## - ## - default: 134217728 (128M) ## - -#innodb_buffer_pool_size = 384M -#innodb_buffer_pool_size = 1024M +#innodb-buffer-pool-size = 384M +#innodb-buffer-pool-size = 1024M ## - innodb_additional_mem_pool_size @@ -2851,8 +2851,8 @@ innodb_file_per_table = 1 ## - ## - Default: 8388608 (8M) ## - -#innodb_additional_mem_pool_size = 20M -#innodb_additional_mem_pool_size = 40M +#innodb-additional-mem_pool-size = 20M +#innodb-additional-mem_pool-size = 40M ## - innodb_buffer_pool_instances @@ -2866,7 +2866,7 @@ innodb_file_per_table = 1 ## - ## - Default: 1 ## - -#innodb_buffer_pool_instances = 1 +#innodb-buffer-pool-instances = 1 ## - innodb_log_file_size @@ -2877,8 +2877,8 @@ innodb_file_per_table = 1 ## - ## (Set .._log_file_size to 25 % of buffer pool size) ## - -#innodb_log_file_size = 100M -#innodb_log_file_size = 256M +#innodb-log-file-size = 100M +#innodb-log-file-size = 256M ## - innodb_log_buffer_size ## - @@ -2887,8 +2887,8 @@ innodb_file_per_table = 1 ## - ## - Default: 8388608 (8M) ## - -#innodb_log_buffer_size = 8M -#innodb_log_buffer_size = 32M +#innodb-log-buffer-size = 8M +#innodb-log-buffer-size = 32M ## - innodb_flush_log_at_trx_commit ## - @@ -2913,8 +2913,8 @@ innodb_file_per_table = 1 ## - DROP TABLE IF EXISTS.. ## - ... ## - -#innodb_flush_log_at_trx_commit = 1 -#innodb_flush_log_at_trx_commit = 2 +#innodb-flush-log-at-trx-commit = 1 +#innodb-flush-log-at-trx-commit = 2 ## - innodb_lock_wait_timeout ## - @@ -2923,7 +2923,7 @@ innodb_file_per_table = 1 ## - ## - Default: 50 ## - -#innodb_lock_wait_timeout = 50 +#innodb-lock-wait-timeout = 50 ## InnoDB specific variables ## ------------------------- @@ -2937,7 +2937,7 @@ innodb_file_per_table = 1 ## - ## - Default: 2097152 (2M) ## - -sort_buffer_size = 2M +sort-buffer-size = 2M ## - key_buffer_size @@ -2950,7 +2950,7 @@ sort_buffer_size = 2M ## - ## - Default: 8388608 (8M) ## - -key_buffer_size = 384M +key-buffer-size = 384M ## - read_buffer_size @@ -2961,7 +2961,7 @@ key_buffer_size = 384M ## - ## - Default: 131072 (128K) ## - -read_buffer_size = 2M +read-buffer-size = 2M ## - read_rnd_buffer_size ## - @@ -2970,7 +2970,7 @@ read_buffer_size = 2M ## - ## - Default: 262144 (256K) ## - -read_rnd_buffer_size = 8M +read-rnd-buffer-size = 8M ## - myisam_sort_buffer_size @@ -2991,8 +2991,8 @@ myisam_sort_buffer_size = 64M ## ## - Default: 4MB (MySQL 5.6.6), 1MB before that. ## - -#max_allowed_packet = 4M -max_allowed_packet = 32M +#max-allowed-packet = 4M +max-allowed-packet = 32M ## - table_open_cache @@ -3006,7 +3006,7 @@ max_allowed_packet = 32M ## - closed and reopened), then you should increase the value of the ## - table_open_cache variable. ## - -table_open_cache = 512 +table-open-cache = 512 ## - table_definition_cache ## - @@ -3015,13 +3015,13 @@ table_open_cache = 512 ## - ## - Default: (400 + (table_open_cache / 2) since 5.6.8, 400 before ## - -#table_definition_cache = 1680 +#table-definition-cache = 1680 -## - max_connect_errors +## - max-connect-errors ## - ## - Default: 100 (5.6.6), 10 (before) ## - -max_connect_errors = 999999 +max-connect-errors = 999999 ## - thread_concurrency ## - @@ -3034,7 +3034,7 @@ max_connect_errors = 999999 ## - ## - (Try number of CPU's*2 for thread_concurrency) ## - -#thread_concurrency = 16 +#thread-concurrency = 16 ## - thread_cache_size ## - @@ -3044,7 +3044,7 @@ max_connect_errors = 999999 ## - ## - Default: 8 + (max_connections / 100) (5.6.8) , 0 (before) ## - -thread_cache_size = 8 +thread-cache-size = 8 ## - thread_stack ## - @@ -3058,7 +3058,7 @@ thread_cache_size = 8 ## - actions. ## - Default: 262144 (256K) ## - -thread_stack = 262144 +thread-stack = 262144 ## - Unbenutze Datenbank Engines deaktivieren @@ -3087,7 +3087,7 @@ log-error = $_mysql_error_log ## - Query Log ## - #general-log = on -#general_log_file = $_mysql_log +#general-log-file = $_mysql_log ## - ft_min_word_len @@ -3105,7 +3105,7 @@ log-error = $_mysql_error_log ## - ## - ## - Vorgabewert ist 4 -#ft_min_word_len = 3 +#ft-min-word-len = 3 ## - ft_stopword_file ## - @@ -3118,7 +3118,7 @@ log-error = $_mysql_error_log ## - Hinweis: Wird diese Variable geändern oder den Inhalt der Stoppwortdatei selbst, ## - müssen die FULLTEXT-Indizes neu erstellt werden (REPAIR TABLE tbl_name QUICK. ). ## - -#ft_stopword_file = /usr/local/mysql/stopwords_utf8_iso8859-15.txt +#ft-stopword-file = /usr/local/mysql/stopwords_utf8_iso8859-15.txt @@ -3135,7 +3135,7 @@ log-error = $_mysql_error_log ## - SELECT SQL_NO_CACHE beginnen. ## - 2 : speichert nur diejenigen Anweisungen im Cache, ## - die mit SELECT SQL_CACHE beginnen. -query_cache_type = 1 +query-cache-type = 1 ## - query_cache_limit @@ -3145,7 +3145,7 @@ query_cache_type = 1 ## - ## - Vorgeabewert ist 1Mbyte ## - -query_cache_limit = 4M +query-cache-limit = 4M ## - query_cache_min_res_unit @@ -3164,7 +3164,7 @@ query_cache_limit = 4M ## - ## - Vorgabewert ist 4Kbyte ## - -query_cache_min_res_unit = 8K +query-cache-min-res-unit = 8K ## - query_cache_size @@ -3178,8 +3178,8 @@ query_cache_min_res_unit = 8K ## - ## - Vorgabewert ist 0, d. h. der Abfrage-Cache ist vorgabeseitig deaktiviert. ## - -#query_cache_size = 32M -query_cache_size = 128M +#query-cache-size = 32M +query-cache-size = 128M ## - query cache ## ------------- @@ -3195,7 +3195,7 @@ query_cache_size = 128M ## - ## - Vorgabewert ist 0 oder OFF ## - -slow_query_log = 1 +slow-query-log = 1 ## - long_query_time @@ -3210,7 +3210,7 @@ slow_query_log = 1 ## - ## - Vorgabewert ist 10 ## - -long_query_time = 1 +long-query-time = 1 ## - slow_query_log_file @@ -3219,7 +3219,7 @@ long_query_time = 1 ## - ## - Vorgabewert ist -slow.log ## - -slow_query_log_file = $_mysql_slow_query_log +slow-query-log-file = $_mysql_slow_query_log ## - log-queries-not-using-indexes @@ -3229,8 +3229,8 @@ slow_query_log_file = $_mysql_slow_query_log ## - ## - Vorgabewert ist 0 ## - -#log_queries_not_using_indexes = 1 -log_queries_not_using_indexes = 0 +#log-queries-not_using_indexes = 1 +log-queries-not-using-indexes = 0 ## - slow queries ## -------------- @@ -3251,7 +3251,7 @@ log_queries_not_using_indexes = 0 ## - ## - Vorgabewert ist 128K ## - -#join_buffer_size = 384K +#join-buffer-size = 384K @@ -3265,7 +3265,7 @@ log_queries_not_using_indexes = 0 ## - ## - Vorgabewert ist 16Mbyte ## - -#max_heap_table_size = 96M +#max-heap-table-size = 96M ## - tmp_table_size @@ -3281,7 +3281,7 @@ log_queries_not_using_indexes = 0 ## - Note: ## - Effective in-memory tmp_table_size is limited to max_heap_table_size. ## - -#tmp_table_size = 96M +#tmp-table-size = 96M ## - angepasste Einstellungen @@ -3290,7 +3290,7 @@ log_queries_not_using_indexes = 0 [mysqldump] quick -max_allowed_packet = 32M +max-allowed-packet = 32M [mysql] no-auto-rehash @@ -3299,10 +3299,10 @@ no-auto-rehash local-infile = 1 [myisamchk] -key_buffer_size = 256M -sort_buffer_size = 256M -read_buffer = 2M -write_buffer = 2M +key-buffer-size = 256M +sort-buffer-size = 256M +read-buffer = 2M +write-buffer = 2M ## ------------------------------------------ @@ -3323,7 +3323,7 @@ write_buffer = 2M ## - ## - ## - Vorgabewert ist 4 -#ft_min_word_len = 3 +#ft-min-word.len = 3 ## - angepasste Einstellungen ## ------------------------------------------ @@ -3333,7 +3333,7 @@ write_buffer = 2M interactive-timeout -## - sql-mode +## - sql_mode ## - ## - To be compartible with older programming on mysql 5.6 ## - @@ -3359,7 +3359,7 @@ EOF" >> ${logdir}/main.log # The following options will be passed to all MySQL clients [client] -port = $MYSQL_PORT +port = $MYSQL_PORT socket = $MYSQL_UNIX_SOCKET # Here follows entries for some specific programs @@ -3368,19 +3368,19 @@ socket = $MYSQL_UNIX_SOCKET # This was formally known as [safe_mysqld]. Both versions are currently parsed. [mysqld_safe] socket = $MYSQL_UNIX_SOCKET -nice = 0 +nice = 0 -open-files-limit = $(ulimit -Hn) -innodb_open_files = $(ulimit -Hn) +open-files-limit = $(ulimit -Hn) +innodb-open-files = $(ulimit -Hn) # The MySQL server [mysqld] -port = $MYSQL_PORT +port = $MYSQL_PORT socket = $MYSQL_UNIX_SOCKET -## - sql-mode +## - sql_mode ## - ## - To be compartible with older programming on mysql 5.6 ## - @@ -3540,7 +3540,7 @@ server-id = 1 ## - ## - Vorgabewert ist 100 ## - -#max_connections = 300 +#max-connections = 300 ## - explicit_defaults_for_timestamp @@ -3557,7 +3557,7 @@ server-id = 1 ## - As indicated by the warning, to turn off the nonstandard behaviors, ## - enable the new . ## - -explicit_defaults_for_timestamp = TRUE +explicit-defaults-for-timestamp = TRUE ## - MySQL Fehlermeldungen @@ -3595,7 +3595,7 @@ low-priority-updates = 1 ## - in use by another thread. Otherwise, MySQL acquires a normal ## - write lock and inserts the row into the hole. ## - -concurrent_insert = 2 +concurrent-insert = 2 ## - open-files-limit @@ -3607,8 +3607,8 @@ concurrent_insert = 2 ## - ## - see also http://linux-vserver.org/Ulimit_Nofiles ## - -open-files-limit = $(ulimit -Hn) -innodb_open_files = $(ulimit -Hn) +open-files-limit = $(ulimit -Hn) +innodb-open-files = $(ulimit -Hn) ## ------------------------- @@ -3620,15 +3620,15 @@ innodb_open_files = $(ulimit -Hn) ## - InnoDB stores the data and indexes for each newly created table in a ## - separate .ibd file, rather than in the system tablespace. ## - -innodb_file_per_table = 1 +innodb-file-per-table = 1 ## - innodb_data_home_dir ## - ## - Default: MySQL data directory ## - -#innodb_data_home_dir = /data/mysql +#innodb-data-home_dir = /data/mysql -#innodb_data_file_path = ibdata1:2000M;ibdata2:10M:autoextend +#innodb-data-file-path = ibdata1:2000M;ibdata2:10M:autoextend ## - innodb_log_group_home_dir ## - @@ -3640,9 +3640,9 @@ innodb_file_per_table = 1 ## - data directory. Their size is given by the size of the ## - innodb_log_file_size system variable. ## - -#innodb_log_group_home_dir = /var/lib/mysql/ +#innodb-log-group-home-dir = /var/lib/mysql/ -## - innodb_buffer_pool_size +## - innodb-buffer-pool-size ## - ## - The size in bytes of the buffer pool, the memory area where InnoDB ## - caches table and index data. @@ -3657,8 +3657,8 @@ innodb_file_per_table = 1 ## - ## - default: 134217728 (128M) ## - -#innodb_buffer_pool_size = 384M -#innodb_buffer_pool_size = 1024M +#innodb-buffer-pool-size = 384M +#innodb-buffer-pool-size = 1024M ## - innodb_additional_mem_pool_size @@ -3668,8 +3668,8 @@ innodb_file_per_table = 1 ## - ## - Default: 8388608 (8M) ## - -#innodb_additional_mem_pool_size = 20M -#innodb_additional_mem_pool_size = 40M +#innodb-additional-mem-pool-size = 20M +#innodb-additional-mem-pool-size = 40M ## - innodb_buffer_pool_instances @@ -3683,7 +3683,7 @@ innodb_file_per_table = 1 ## - ## - Default: 1 ## - -#innodb_buffer_pool_instances = 1 +#innodb-buffer-pool-instances = 1 ## - innodb_log_file_size @@ -3694,8 +3694,8 @@ innodb_file_per_table = 1 ## - ## (Set .._log_file_size to 25 % of buffer pool size) ## - -#innodb_log_file_size = 100M -#innodb_log_file_size = 256M +#innodb-log-file-size = 100M +#innodb-log-file-size = 256M ## - innodb_log_buffer_size ## - @@ -3704,8 +3704,8 @@ innodb_file_per_table = 1 ## - ## - Default: 8388608 (8M) ## - -#innodb_log_buffer_size = 8M -#innodb_log_buffer_size = 32M +#innodb-log-buffer-size = 8M +#innodb-log-buffer-size = 32M ## - innodb_flush_log_at_trx_commit ## - @@ -3730,8 +3730,8 @@ innodb_file_per_table = 1 ## - DROP TABLE IF EXISTS.. ## - ... ## - -#innodb_flush_log_at_trx_commit = 1 -#innodb_flush_log_at_trx_commit = 2 +#innodb-flush-log-at-trx-commit = 1 +#innodb-flush-log-at-trx-commit = 2 ## - innodb_lock_wait_timeout ## - @@ -3740,7 +3740,7 @@ innodb_file_per_table = 1 ## - ## - Default: 50 ## - -#innodb_lock_wait_timeout = 50 +#innodb-lock-wait-timeout = 50 ## InnoDB specific variables ## ------------------------- @@ -3754,7 +3754,7 @@ innodb_file_per_table = 1 ## - ## - Default: 2097152 (2M) ## - -sort_buffer_size = 2M +sort-buffer-size = 2M ## - key_buffer_size @@ -3767,7 +3767,7 @@ sort_buffer_size = 2M ## - ## - Default: 8388608 (8M) ## - -key_buffer_size = 384M +key-buffer-size = 384M ## - read_buffer_size @@ -3778,7 +3778,7 @@ key_buffer_size = 384M ## - ## - Default: 131072 (128K) ## - -read_buffer_size = 2M +read-buffer-size = 2M ## - read_rnd_buffer_size ## - @@ -3787,7 +3787,7 @@ read_buffer_size = 2M ## - ## - Default: 262144 (256K) ## - -read_rnd_buffer_size = 8M +read-rnd-buffer-size = 8M ## - myisam_sort_buffer_size @@ -3798,7 +3798,7 @@ read_rnd_buffer_size = 8M ## - ## - Default: 8388608 (8M) ## - -myisam_sort_buffer_size = 64M +myisam-sort-buffer-size = 64M ## - max_allowed_packet @@ -3808,8 +3808,8 @@ myisam_sort_buffer_size = 64M ## ## - Default: 4MB (MySQL 5.6.6), 1MB before that. ## - -#max_allowed_packet = 4M -max_allowed_packet = 32M +#max-allowed-packet = 4M +max-allowed-packet = 32M ## - table_open_cache @@ -3823,7 +3823,7 @@ max_allowed_packet = 32M ## - closed and reopened), then you should increase the value of the ## - table_open_cache variable. ## - -table_open_cache = 512 +table-open-cache = 512 ## - table_definition_cache ## - @@ -3832,13 +3832,13 @@ table_open_cache = 512 ## - ## - Default: (400 + (table_open_cache / 2) since 5.6.8, 400 before ## - -#table_definition_cache = 1680 +#table-definition-cache = 1680 ## - max_connect_errors ## - ## - Default: 100 (5.6.6), 10 (before) ## - -max_connect_errors = 999999 +max-connect-errors = 999999 ## - thread_concurrency ## - @@ -3851,7 +3851,7 @@ max_connect_errors = 999999 ## - ## - (Try number of CPU's*2 for thread_concurrency) ## - -#thread_concurrency = 16 +#thread-concurrency = 16 ## - thread_cache_size ## - @@ -3861,7 +3861,7 @@ max_connect_errors = 999999 ## - ## - Default: 8 + (max_connections / 100) (5.6.8) , 0 (before) ## - -thread_cache_size = 8 +thread-cache-size = 8 ## - thread_stack ## - @@ -3875,7 +3875,7 @@ thread_cache_size = 8 ## - actions. ## - Default: 262144 (256K) ## - -thread_stack = 262144 +thread-stack = 262144 ## - Unbenutze Datenbank Engines deaktivieren @@ -3904,7 +3904,7 @@ log-error = $_mysql_error_log ## - Query Log ## - #general-log = on -#general_log_file = $_mysql_log +#general-log_file = $_mysql_log ## - ft_min_word_len @@ -3922,7 +3922,7 @@ log-error = $_mysql_error_log ## - ## - ## - Vorgabewert ist 4 -#ft_min_word_len = 3 +#ft-min-word-len = 3 ## - ft_stopword_file ## - @@ -3935,7 +3935,7 @@ log-error = $_mysql_error_log ## - Hinweis: Wird diese Variable geändern oder den Inhalt der Stoppwortdatei selbst, ## - müssen die FULLTEXT-Indizes neu erstellt werden (REPAIR TABLE tbl_name QUICK. ). ## - -#ft_stopword_file = /usr/local/mysql/stopwords_utf8_iso8859-15.txt +#ft-stopword-file = /usr/local/mysql/stopwords_utf8_iso8859-15.txt @@ -3962,7 +3962,7 @@ query_cache_type = 1 ## - ## - Vorgeabewert ist 1Mbyte ## - -query_cache_limit = 4M +query-cache-limit = 4M ## - query_cache_min_res_unit @@ -3981,7 +3981,7 @@ query_cache_limit = 4M ## - ## - Vorgabewert ist 4Kbyte ## - -query_cache_min_res_unit = 8K +query-cache-min-res-unit = 8K ## - query_cache_size @@ -3996,7 +3996,7 @@ query_cache_min_res_unit = 8K ## - Vorgabewert ist 0, d. h. der Abfrage-Cache ist vorgabeseitig deaktiviert. ## - #query_cache_size = 32M -query_cache_size = 128M +query-cache-size = 128M ## - query cache ## ------------- @@ -4012,7 +4012,7 @@ query_cache_size = 128M ## - ## - Vorgabewert ist 0 oder OFF ## - -slow_query_log = 1 +slow-query-log = 1 ## - long_query_time @@ -4027,7 +4027,7 @@ slow_query_log = 1 ## - ## - Vorgabewert ist 10 ## - -long_query_time = 1 +long-query-time = 1 ## - slow_query_log_file @@ -4036,7 +4036,7 @@ long_query_time = 1 ## - ## - Vorgabewert ist -slow.log ## - -slow_query_log_file = $_mysql_slow_query_log +slow-query-log-file = $_mysql_slow_query_log ## - log-queries-not-using-indexes @@ -4046,8 +4046,8 @@ slow_query_log_file = $_mysql_slow_query_log ## - ## - Vorgabewert ist 0 ## - -#log_queries_not_using_indexes = 1 -log_queries_not_using_indexes = 0 +#log-queries-not-using-indexes = 1 +log-queries-not-using-indexes = 0 ## - slow queries ## -------------- @@ -4068,7 +4068,7 @@ log_queries_not_using_indexes = 0 ## - ## - Vorgabewert ist 128K ## - -#join_buffer_size = 384K +#join-buffer-size = 384K @@ -4082,7 +4082,7 @@ log_queries_not_using_indexes = 0 ## - ## - Vorgabewert ist 16Mbyte ## - -#max_heap_table_size = 96M +#max-heap-table-size = 96M ## - tmp_table_size @@ -4098,7 +4098,7 @@ log_queries_not_using_indexes = 0 ## - Note: ## - Effective in-memory tmp_table_size is limited to max_heap_table_size. ## - -#tmp_table_size = 96M +#tmp-table-size = 96M ## - angepasste Einstellungen @@ -4107,7 +4107,7 @@ log_queries_not_using_indexes = 0 [mysqldump] quick -max_allowed_packet = 32M +max-allowed-packet = 32M [mysql] no-auto-rehash @@ -4116,10 +4116,10 @@ no-auto-rehash local-infile = 1 [myisamchk] -key_buffer_size = 256M -sort_buffer_size = 256M -read_buffer = 2M -write_buffer = 2M +key-buffer-size = 256M +sort-buffer-size = 256M +read-buffer = 2M +write-buffer = 2M ## ------------------------------------------ @@ -4140,7 +4140,7 @@ write_buffer = 2M ## - ## - ## - Vorgabewert ist 4 -#ft_min_word_len = 3 +#ft-min-word-len = 3 ## - angepasste Einstellungen ## ------------------------------------------ @@ -4150,7 +4150,7 @@ write_buffer = 2M interactive-timeout -## - sql-mode +## - sql_mode ## - ## - To be compartible with older programming on mysql 5.6 ## -