adding before_install check of mysql