Resolve DB connection issue.