correcting the script for feeding the mysql root password