[packages/mysql] Drop most things from config. Best to keep it small and simple
arekm
arekm at pld-linux.org
Thu Nov 16 14:37:56 CET 2023
commit 000d15d666734284b3f3cd7cea5ef6af33a30870
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Nov 16 12:28:45 2023 +0100
Drop most things from config. Best to keep it small and simple
mysqld.conf | 163 ------------------------------------------------------------
1 file changed, 163 deletions(-)
---
diff --git a/mysqld.conf b/mysqld.conf
index 9ffb815..09808af 100644
--- a/mysqld.conf
+++ b/mysqld.conf
@@ -18,32 +18,6 @@ user = mysql
#ssl-key = /etc/ssl/certs/mysql{MYSQL_MAJOR}/server-key.pem
#ssl-cipher = DHE-RSA-AES256-SHA
-#character-set-server=latin2
-#collation-server=latin2_general_ci
-#skip-character-set-client-handshake
-
-# This variable controls the password hashing method used by the PASSWORD()
-# function. It also influences password hashing performed by CREATE USER and
-# GRANT statements that specify a password using an IDENTIFIED BY clause.
-# http://dev.mysql.com/doc/refman/5.6/en/server-system-variables.html#sysvar_old_passwords
-# Value | Password Hashing Method | Associated Authentication Plugin
-# 0 | MySQL 4.1 native hashing | mysql_native_password
-# 1 | Pre-4.1 ("old") hashing | mysql_old_password
-# 2 | SHA-256 hashing | sha256_password
-# If you set old_passwords=2, follow the instructions for using the sha256_password plugin at
-# http://dev.mysql.com/doc/refman/5.6/en/sha256-authentication-plugin.html
-#old-passwords=0
-
-# Don't use system locking
-skip-external-locking
-
-# Disabling symbolic-links is recommended to prevent assorted security risks
-symbolic-links=0
-
-# Default storage engine is InnoDB since 5.5.5
-# You may revert to previous behaviour by specifiying MyISAM here
-#default-storage-engine=InnoDB
-
# Don't listen on a TCP/IP port at all. This is a security enhancement,
# if all processes that need to connect to mysqld run on the same host.
# All interaction with mysqld must be made via Unix sockets.
@@ -58,62 +32,6 @@ skip-networking
# Emergency option. Use only if you really need this.
#skip-grant-tables
-# http://dev.mysql.com/doc/refman/5.5/en/server-options.html#option_mysqld_default-storage-engine
-#default-storage-engine=MyISAM
-
-# Replication Master Server (default)
-# binary logging is required for replication
-#log-bin=mysql-bin
-
-# max size of master binlog files
-#max_binlog_size=256M
-
-# If non-zero, binary logs will be purged after expire_logs_days days; possible
-# purges happen at startup and at binary log rotation.
-#expire-logs-days=30
-
-# Normally, a slave does not log to its own binary log any updates that are
-# received from a master server. This option tells the slave to log the updates
-# performed by its SQL thread to its own binary log. For this option to have
-# any effect, the slave must also be started with the --log-bin option to
-# enable binary logging. --log-slave-updates is used when you want to chain
-# replication servers.
-#log-slave-updates
-
-# required unique id between 1 and 2^32 - 1
-# defaults to 1 if master-host is not set but will not function as a master if omitted
-#server-id=2
-
-# To set up N master servers, set the variables like this:
-# Set auto_increment_increment to N on each master.
-# Set each of the N masters to have a different auto_increment_offset, using the values 1, 2, ..., N
-#auto-increment-offset=1
-#auto-increment-increment=2
-
-# databases to be included in binlog
-#binlog-do-db=db1
-# or excluded
-#binlog-ignore-db=mysql
-#binlog-ignore-db=test
-
-# slave setup
-#relay-log=slave-relay-bin
-#report-host=db-slave.example.org
-
-# skip startup of slave
-#skip-slave-start
-
-# master does not ignore them, but we do
-#replicate-ignore-db=mysql
-#replicate-ignore-db=test
-#replicate-ignore-table=db1.tbl1
-#replicate-ignore-table=db2.tbl2
-
-#replicate-rewrite-db=delfi->delfi_ro
-
-# replication local log
-#max_relay_log_size=256M
-
# https://dev.mysql.com/doc/refman/5.6/en/log-destinations.html
# global option where logs be written
# affects slow-query-log, general-log direcives
@@ -148,87 +66,6 @@ slow-query-log-file = /var/log/mysql{MYSQL_MAJOR}/slow.log
# colon (:), in this case they are used in a round-robin fashion.
#tmpdir = /var/tmp
-#
-# Internal server variables
-#
-
-#back_log=5
-#connect_timeout=5
-#delayed_insert_timeout=300
-#delayed_insert_limit=100
-#flush_time=0
-#join_buffer_size=131072
-#key_buffer_size=8M
-#read_rnd_buffer_size=256K
-#read_buffer_size=132K
-#long_query_time=10
-#max_allowed_packet=1M
-#max_connections=100
-#max_user_connections=0
-#max_connect_errors=10
-#max_delayed_threads=20
-#delayed_queue_size=1000
-#max_join_size=4294967295
-#max_sort_length=1024
-#max_write_lock_count=4294967295
-#net_buffer_length=16384
-#record_buffer=131072
-#sort_buffer_size=2M
-#table_cache=64
-#tmp_table_size=1M
-#max_heap_table_size=32M
-#thread_cache_size=16
-#thread_stack=65536
-# http://www.mysqlperformanceblog.com/2012/06/04/thread_concurrency-doesnt-do-what-you-expect/
-# thread_concurrency is deprecated, removed in 5.6.1 and works on old Solaris versions < 9
-#wait_timeout=28800
-#query_cache_size=8M
-#query_cache_limit=1M
-
-# Fulltext search options
-#ft_min_word_len=2
-
-#
-# MyISAM tables options
-#
-
-# Don't flush key buffers between writes for any MyISAM
-# set this if you have dedicated slave server where writes aren't important
-#delay-key-write-for-all-tables
-
-# Repair automatically on open if the table wasn't closed properly.
-# http://dev.mysql.com/doc/refman/5.7/en/server-options.html#option_mysqld_myisam-recover-options
-myisam-recover-options
-
-#myisam_sort_buffer_size=4M
-
-# To completely disable InnoDB, use this option
-# this makes all innodb options being unknown options (including skip-innodb)
-# @deprecated
-#ignore-builtin-innodb
-
-#
-# InnoDB tables options (see MySQL manual)
-#
-#skip-innodb
-
-# http://stackoverflow.com/questions/2646373/mysql-data-file-wont-shrink
-# http://dev.mysql.com/doc/refman/5.5/en/innodb-multiple-tablespaces.html
-innodb_file_per_table
-
-# these are actual defaults (as of 5.0.26)
-innodb_data_home_dir = @clusterdir@/mysqldb/db
-innodb_log_group_home_dir = @clusterdir@/mysqldb/db
-innodb_log_files_in_group=2
-
-#innodb_flush_log_at_trx_commit=1
-#innodb_log_arch_dir = @clusterdir@/innodb/log
-#innodb_log_archive=0
-#innodb_buffer_pool_size=80M
-#innodb_additional_mem_pool_size=10M
-#innodb_file_io_threads=4
-#innodb_lock_wait_timeout=50
-
# used for logs rotation or status check for replications
[client]
user = mysql_sysadmin
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mysql.git/commitdiff/d6f88708ed6cb4c335210225c2632b4e29a642ee
More information about the pld-cvs-commit
mailing list