refactored mysql and post install steps