Minor fix

included setting of mysql root arguments in the if statement