-
Joao Gramacho authored
Server Changes ============== 1. Now, default binary logging is ENABLED, and, corresponding variables are set as follows: log_bin= ON log_bin_basename= {datadir}/binlog.xxxxxx log_bin_index= {datadir}/binlog.index 2. On setting --log-bin option without string or empty string, binary logging is ENABLED, and, corresponding variables are set as follows: log_bin= ON log_bin_basename= {datadir}/binlog.xxxxxx log_bin_index= {datadir}/binlog.index. 3. The default value of server-id is changed to 1. 4. The default relay log file names are {datadir}/relaylog.xxxxxx. 5. The default relay log index file name is relaylog.index. 6. Server is not allowed to start when binary and relay logs have same base name. Either using --log-bin and --relay-log with same non-empty parameter, using --log-bin=relaylog or --relaylog=binlog. 7. If --log-bin option is specified without specifying a --server-id, then server is now allowed to initialize with a warning. 8. If server is started with --skip-log-bin --log-bin, the binary logging is ENABLED, and, corresponding variables are now set properly as follows: log_bin= ON log_bin_basename= {datadir}/binlog.xxxxxx log_bin_index= {datadir}/binlog.index. Following existing behaviors (9,10,11) are not changed and must work as earlier: 9. Binary logging remains disabled on --initialize[-insecure] by default. 10. --log-bin=anyuserprovidedname If a user provides string to --log-bin option, then binary logging is ENABLED using {datadir}/anyuserprovidedname.xxxxxx. 11. --skip-log-bin, --disable-log-bin If a user provides --skip-log-bin or --disable-log-bin, then binary logging is DISABLED.
Joao Gramacho authoredServer Changes ============== 1. Now, default binary logging is ENABLED, and, corresponding variables are set as follows: log_bin= ON log_bin_basename= {datadir}/binlog.xxxxxx log_bin_index= {datadir}/binlog.index 2. On setting --log-bin option without string or empty string, binary logging is ENABLED, and, corresponding variables are set as follows: log_bin= ON log_bin_basename= {datadir}/binlog.xxxxxx log_bin_index= {datadir}/binlog.index. 3. The default value of server-id is changed to 1. 4. The default relay log file names are {datadir}/relaylog.xxxxxx. 5. The default relay log index file name is relaylog.index. 6. Server is not allowed to start when binary and relay logs have same base name. Either using --log-bin and --relay-log with same non-empty parameter, using --log-bin=relaylog or --relaylog=binlog. 7. If --log-bin option is specified without specifying a --server-id, then server is now allowed to initialize with a warning. 8. If server is started with --skip-log-bin --log-bin, the binary logging is ENABLED, and, corresponding variables are now set properly as follows: log_bin= ON log_bin_basename= {datadir}/binlog.xxxxxx log_bin_index= {datadir}/binlog.index. Following existing behaviors (9,10,11) are not changed and must work as earlier: 9. Binary logging remains disabled on --initialize[-insecure] by default. 10. --log-bin=anyuserprovidedname If a user provides string to --log-bin option, then binary logging is ENABLED using {datadir}/anyuserprovidedname.xxxxxx. 11. --skip-log-bin, --disable-log-bin If a user provides --skip-log-bin or --disable-log-bin, then binary logging is DISABLED.
Loading