# Database 'RAW' does not exist or not authorized

**URL:** <https://discourse.getdbt.com/t/database-raw-does-not-exist-or-not-authorized/14104>\
**Category:** Help\
**Created:** [July 8, 2024, 8:05am UTC](https://discourse.getdbt.com/t/database-raw-does-not-exist-or-not-authorized/14104 "2024-07-08T08:05:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sriharibabu](https://avatars.discourse-cdn.com/v4/letter/s/b5a626/32.png) [@Sriharibabu](https://discourse.getdbt.com/u/Sriharibabu)\
**Post date:** [July 8, 2024, 8:05am UTC](https://discourse.getdbt.com/t/database-raw-does-not-exist-or-not-authorized/14104/1 "2024-07-08T08:05:52Z")

</div>

While creating view customers, I am facing error as “Database ‘RAW’ does not exist or not authorized”. Missed to add databases RAW & Analytics while setting up dbt account. Please let me know how to resolve this issue.

---

<div class="post-metadata">

**Author:** ![Sriharibabu](https://avatars.discourse-cdn.com/v4/letter/s/b5a626/32.png) [@Sriharibabu](https://discourse.getdbt.com/u/Sriharibabu)\
**Post date:** [July 8, 2024, 8:52am UTC](https://discourse.getdbt.com/t/database-raw-does-not-exist-or-not-authorized/14104/2 "2024-07-08T08:52:09Z")

</div>

Issue resolved after granting permissions manually.

grant all on database RAW to PC\_dbt\_ROLE
