WL#2271: Remove my.cnf replication options (5.1)
Affects: Server-5.1 — Status: Complete — Priority: Medium
SUMMARY Drop the support of listing the master info options in the my.cnf. Actually this will be done in two steps, in 5.1 we warn and in 5.2 we give an error message for these options. This WL is only for the work in 5.1. 5.2 work is in WL#3747. MOTIVATION This has always been one of our most confusing options. Required to fix BUG#21490 "No warning issued for deprecated replication parameters" TIMEPLAN Brian says: "Spoke to Monty about my.cnf options. We just need to put warning in for the current options and ignore them. Should be in 5.0 or 5.1."
SUMMARY The following 11 options will no longer be setable in the my.cnf file: * `--master-host' * `--master-user' * `--master-password' * `--master-port' * `--master-connect-retry' * `--master-ssl' * `--master-ssl-ca' * `--master-ssl-capath' * `--master-ssl-cert' * `--master-ssl-cipher' * `--master-ssl-key' The following options are not changed. They are still setable in the my.cnf file: - master_info_file - master_retry_count IMPLEMENTATION IN MYSQL 5.2 [Fail and give error] (Either an "unknown option" error or "depricated option" error.) Remove this options as options altogether (i.e. they will no longer be command-line options, note that this change requires changes to e.g. the mysql-test-run program that starts replication by command-line). ALTERNATIVE IMPLEMENTATION IN MYSQL 5.2 (This will not be implemented.) Remove this options only as my.cnf options (i.e. they will still be setable via command-line). This requires rewriting more things and is not considered for this WL. IMPLEMENTATION IN MYSQL 5.0, 5.1 [Warn and ignore options.]
No LLD needed, this is very simple patch. -- Lars, 2007-01-31
Copyright (c) 2000, 2015, Oracle Corporation and/or its affiliates. All rights reserved.