# Accessing Database

**URL:** <https://meta.discourse.org/t/accessing-database/154125>\
**Category:** Self-hosting\
**Created:** [June 7, 2020, 10:40pm UTC](https://meta.discourse.org/t/accessing-database/154125 "2020-06-07T22:40:54Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![gassim](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gassim/32/220910_2.png) [@gassim](https://meta.discourse.org/u/gassim)\
**Post date:** [January 23, 2025, 8:15am UTC](https://meta.discourse.org/t/accessing-database/154125/6 "2025-01-23T08:15:35Z")

</div>

Hey!

I wanted to double check with you please. When I export the dump.sql to a postgresql database, I end up with empty tables. It’s not clear why. Here are the steps that I follow after I download the backup file:

1. **Open pgAdmin**
2. **Create a New Database**
3. **Open Query Tool**
4. **Use the ‘Open’ in the Query Tool and select the `dump.sql` file**
5. **Execute the Dump Script**

It says that everything was successful but when I ‘view data’ in the tables, they are empty.

Additionally, it’s probably how the instance is managed but it seems that the users table is not included as well, but I need that table to know who did what.

Did I miss anything here? Thanks!

---

_[View the full topic](https://meta.discourse.org/t/accessing-database/154125)._
