# 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:** 7

<div class="post-metadata">

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

</div>

What’s the size of the `dump.sql`? It should be sizeable (a few MB _at least_). Can you take a look inside the file? e.g.

```sh
$ zgrep -i "CREATE TABLE public.users" dump.sql.gz
#output should be
> CREATE TABLE public.users (

```

If you don’t see this, the dump looks wrong.

Also, if you share your steps on how you are exporting the dump or paste your console output here, we can understand your issue better.

---

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