# #BUG#13333431 : INCORRECT DEFAULT PORT IN 'SHOW SLAVE HOSTS' OUTPUT # # ==== Purpose ==== # # The test show the default value printed for the slave's port number if the # --report-port= is not set on the slave. This is different from # the present scenario which show 3306 as the default value if the report-port # is not set on the slave. # #====Method==== # # Start replication with report port set to 9000 and restart the slave. # In this case on doing SHOW SLAVE HOSTS on the master, we get the port number # of the slave to be 9000. # In the second case restart the slave server with report port not set. In this # case on doing SHOW SLAVE HOSTS on the master, we get the actual port number # of the slave (ie. SLAVE_PORT). source include/have_binlog_format_mixed.inc; source include/master-slave.inc; connection master; # Start the server with some value being passed to the report_port=