> Source: [sk163293](https://support.checkpoint.com/results/sk/sk163293)

# sk163293 - Unable to login to SmartConsole with error in cpm.elg: "Couldn't connect to database"

| Property | Value |
|----------|-------|
| Solution ID | sk163293 |
| Date Created | 2019-12-02 |
| Last Modified | 2021-06-01 |
| Technical Level | General |
| Products | Security Management Server, SmartConsole |
| Versions | R82.10, R82, R81.20, R82.10, R82.20, R82.20, R82, R81.20 |
| OS | Gaia |

## Symptoms

- * Unable to login to SmartConsole.
* Error found in *cpm.elg*: "Couldn't connect to database', errorCode='CP_ERR_DATABASE_CONNECTION', errorFamily='null', messageForUser='null', message='Couldn't connect to database'}"

## Solution

[Contact Check Point Support](https://www.checkpoint.com/support-services/contact-support/) to get a Hotfix for this issue.   
A Support Engineer will make sure the Hotfix is compatible with your environment before providing the Hotfix.   
For faster resolution and verification please collect [CPinfo](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk92739) files from the Security Management and Security Gateways involved in the case.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
