X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=mysqld.conf;h=632ab021bc3a02f917212b7300542fffe7e3e994;hb=a08b7d4373117e32219a72ec068d109ef099c899;hp=73fd012c506950072cdb1fd34d95729102471335;hpb=fb0f1f8536d1d2e2fce266eb413196bdad12ce12;p=packages%2Fmysql.git diff --git a/mysqld.conf b/mysqld.conf index 73fd012..632ab02 100644 --- a/mysqld.conf +++ b/mysqld.conf @@ -3,7 +3,6 @@ # # One can use all long options that the mysqld supports. # Run mysqld with --help to get a whole list of available options -# $Id$ # This section must be the first! [mysqld] @@ -53,27 +52,13 @@ skip-networking # http://dev.mysql.com/doc/refman/5.5/en/server-options.html#option_mysqld_default-storage-engine #default-storage-engine=MyISAM -# skip startup of slave -#skip-slave-start - -# slave setup -#relay-log=slave-relay-bin -#master-host=master -#master-user=replica -#master-port=3306 -#master-password=replica -#report-host=db-slave.example.org - -# master does not ignore them, but we do -#replicate-ignore-db=mysql -#replicate-ignore-db=test - -#replicate-rewrite-db=delfi->delfi_ro - # 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 @@ -102,7 +87,32 @@ skip-networking #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 +# Possible values: FILE, TABLE +# NOTE: when using table, you can switch to MyISAM, but the contents is still +# not replicated, also mysqldump will not dump data, only create table +# statements +#log-output = TABLE log-output = FILE # mysqld error log (stderr) @@ -166,11 +176,6 @@ slow-query-log_file = /var/log/mysql/slow.log #query_cache_size=8M #query_cache_limit=1M -# replication local log -#max_relay_log_size=256M -# max size of master binlog files -#max_binlog_size=256M - # Fulltext search options #ft_min_word_len=2 @@ -188,6 +193,10 @@ myisam-recover #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) @@ -196,7 +205,7 @@ myisam-recover # 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 +innodb_file_per_table # these are actual defaults (as of 5.0.26) innodb_data_home_dir = @clusterdir@/mysqldb/db @@ -219,3 +228,8 @@ innodb_log_buffer_size=1M [mysqladmin] user = mysql_sysadmin password = + +# used by initscript to fetch slave status +[mysql] +user = mysql +password =