---
title: "Discussion on \"PostgresQL: PG::ConnectionBad: FATAL:  role \"username\" does not exist\" | Hashnode"
description: "Discussion on \"PostgresQL: PG::ConnectionBad: FATAL:  role \"username\" does not exist\". Hey guys, how have you been?\nToday, we are going to learn how to solve the following error message:\nPG::ConnectionBad: FATAL:  role \"username\" does not exist\n\nIntroduction\nThe error message happens when you try to create a Rails database and the role..."
url: "https://hashnode.com/posts/postgresql-pgconnectionbad-fatal-role-username-does-not-exist/63b0f9076dc61913d7955ac1"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [PostgresQL: PG::ConnectionBad: FATAL: role "username" does not exist](https://blog.alexandrecalaca.com/postgresql-pgconnectionbad-fatal-role-username-does-not-exist?utm_source=hashnode&utm_medium=feed)

Hey guys, how have you been? Today, we are going to learn how to solve the following error message: PG::ConnectionBad: FATAL: role "username" does not exist Introduction The error message happens when you try to create a Rails database and the role...

Jan 1, 2023 · 2 min read · blog.alexandrecalaca.com  
Read the article

-   [#ruby-on-rails](https://hashnode.com/tag/ruby-on-rails)
-   [#postgresql](https://hashnode.com/tag/postgresql)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#deepinos](https://hashnode.com/tag/deepinos)
-   [#ruby](https://hashnode.com/tag/ruby)

## Written by

[Alexandre Calaça](https://hashnode.com/@alexandrecalaca)

@alexandrecalaca

  
[View profile](https://hashnode.com/@alexandrecalaca)

I'm a passionate software developer.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
