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 #1 from dotmanila/master

merge booth changes Jervin
Merge pull request #2 from grypyrg/master

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

Mysql prm56 fix changemasterloop
Merge pull request #31 from grypyrg/master

All that looks good, great work guys.
try to fix, no1
better fix
better fix, try no3 :)
remove the starting file when stopping
porting fix to mysql_prm
Merge pull request #35 from grypyrg/mysqld-start-only-once-pid-fix

pid file checks are invalid in mysql_start and mysql_stop:  I may add more tests to validate both pidfiles, ok for now.
the op 'start' would wait until the timeout is reached if mysql failed to start. A check was added to see if the mysqld process is still running, if not, we can immediately stop the op 'start'
Merge pull request #36 from grypyrg/mysqld-start-do-not-wait-until-timeout

the op 'start' would wait until the timeout is reached if mysql failed to start
typo, courtesy of @dotmanila
removed wrong file
Merge pull request #37 from grypyrg/mysqld-start-do-not-wait-until-timeout

	typo, courtesy of @dotmanila
fix issue #38, as mentioned by @jdputsch