26 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
| ################################################################################
 | |
| # Check inc/gr_change_master_hidden.inc for test details.
 | |
| # This test enables the binary protocol between client and server.
 | |
| #
 | |
| # Test:
 | |
| # 0. The test requires one server: M1.
 | |
| # 1. Verify that CHANGE MASTER FOR recovery channel command is logged in the
 | |
| #    slow log, query_log and error log, but the password value is either masked
 | |
| #    with '<secret>' or is not logged.
 | |
| # 2. Grep for pattern 'master_password' in error log. Expect 0 count.
 | |
| # 3. Grep for pattern 'unique_password' in error log. Expect 0 count.
 | |
| ################################################################################
 | |
| --source ../include/gr_change_master_hidden.inc
 | |
| 
 | |
| --echo # MASTER_PASSWORD value for the CHANGE MASTER command will not be logged in the error log.
 | |
| --let $grep_file=$MYSQLTEST_VARDIR/tmp/no_change_master_password_logging.err
 | |
| --let $grep_pattern= master_password
 | |
| --let $grep_output= print_count
 | |
| --source include/grep_pattern.inc
 | |
| 
 | |
| --echo # The password value 'unique_password' is not logged in the error log.
 | |
| --let $grep_file=$MYSQLTEST_VARDIR/tmp/no_change_master_password_logging.err
 | |
| --let $grep_pattern= unique_password
 | |
| --let $grep_output= print_count
 | |
| --source include/grep_pattern.inc
 |