CHANGE: execution of mysql moved before create db