database throw exception if wamp server not on