Added Credits To Jervin & Me :-)
properly matching  and , instead of replacing variables
Revert "properly matching  and , instead of replacing variables". I always get confused with bash, the fact that = == ==

This reverts commit 7596ffa28ab6d3ba382e3e8dac2587a7570b07dd.
with GTID, it is possible that $master_log_file is not defined yet,
as it connects, with MASTER_AUTO_POSITION=1, it needs to find the
binlog file and position, using $master_uuid instead.
Merge pull request #2 from grypyrg/master

Merge Changes Jervin
Merge pull request #3 from grypyrg/mysql_prm56_fix_changemasterloop

Mysql prm56 fix changemasterloop