Removed system exit from some files containing mysql commands