Error occured during db connection.