add db connect error message.