# Failed to ping to DB

**URL:** <https://forum.mattermost.com/t/failed-to-ping-to-db/15662>\
**Category:** Troubleshooting\
**Created:** [April 13, 2023, 4:27am UTC](https://forum.mattermost.com/t/failed-to-ping-to-db/15662 "2023-04-13T04:27:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cmilelabs](https://avatars.discourse-cdn.com/v4/letter/c/22d042/32.png) [@cmilelabs](https://forum.mattermost.com/u/cmilelabs)\
**Post date:** [April 13, 2023, 4:27am UTC](https://forum.mattermost.com/t/failed-to-ping-to-db/15662/1 "2023-04-13T04:27:40Z")

</div>

I am new to mattermost. Please could someone help? Everything was working fine and all of sudden I am facing this error.

 ![Screenshot 2023-04-13 at 9.55.45 AM](https://us1.discourse-cdn.com/flex020/uploads/mattermost/original/2X/2/24b79097c3e17fcb0c56c02d25ef79e6e0b80a0f.png)

---

<div class="post-metadata">

**Author:** ![agriesser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/agriesser/32/5644_2.png) [@agriesser](https://forum.mattermost.com/u/agriesser)\
**Post date:** [April 13, 2023, 4:56am UTC](https://forum.mattermost.com/t/failed-to-ping-to-db/15662/2 "2023-04-13T04:56:23Z")

</div>

Hi @cmilelabs and welcome to the Mattermost forums!

This message means that Mattermost is unable to connect to your local database server. It’s looking for a PostgreSQL server on localhost on port 5432 - can you verify that your PostgreSQL server is running?
