fix connect with Try catch , added mysql Library