# Database Access required for our forum

**URL:** https://meta.discourse.org/t/database-access-required-for-our-forum/194276
**Category:** Support
**Created:** [June 18, 2021, 9:20am UTC](https://meta.discourse.org/t/database-access-required-for-our-forum/194276 "2021-06-18T09:20:11Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Bhagyashri](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bhagyashri/32/184020_2.png) [@Bhagyashri](https://meta.discourse.org/u/Bhagyashri)
#### Post date: [June 18, 2021, 9:20am UTC](https://meta.discourse.org/t/database-access-required-for-our-forum/194276/1 "2021-06-18T09:20:12Z")

</div>

Hi Team,

Could you please help me on accessing the community forum database? We had no idea about how to access it and need to know the top viewed topics.

---

<div class="post-metadata">

### Author: ![TallTrees](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/talltrees/32/208620_2.png) [@TallTrees](https://meta.discourse.org/u/TallTrees)
#### Post date: [June 18, 2021, 9:44am UTC](https://meta.discourse.org/t/database-access-required-for-our-forum/194276/2 "2021-06-18T09:44:41Z")

</div>

Is this what you are looking for?

> [@Discourse Data Explorer](https://meta.discourse.org/t/data-explorer-plugin/32566):
>
> discourse2Summary Discourse [Data Explorer](https://meta.discourse.org/t/32566?silent=true) allows you to make SQL queries against your live database, allowing for up-to-the-minute stats reporting.open_bookInstall Guide This plugin is bundled with Discourse core. There is no need to install the plugin separately.information_source If you’re looking for examples or support for any custom queries, you can find lots of topics in our #Data & reporting category under the #sql-query tag. If there’s not one to suit your pa…

---

<div class="post-metadata">

### Author: ![Bhagyashri](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bhagyashri/32/184020_2.png) [@Bhagyashri](https://meta.discourse.org/u/Bhagyashri)
#### Post date: [June 18, 2021, 10:54am UTC](https://meta.discourse.org/t/database-access-required-for-our-forum/194276/3 "2021-06-18T10:54:53Z")

</div>

Thanks!! I have already tried this but it shows me to upgrade to business plan.

Is there any other way for accessing database. May be through backend or any other way?

 ![image](https://global.discourse-cdn.com/meta/original/3X/7/c/7c9bb157728025ba54af14ca5e7f02fcc8c962c2.png)

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [June 18, 2021, 11:20am UTC](https://meta.discourse.org/t/database-access-required-for-our-forum/194276/4 "2021-06-18T11:20:24Z")

</div>

I don’t believe so. You might also look at search tools that might let you sort by views.

---

<div class="post-metadata">

### Author: ![Bhagyashri](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bhagyashri/32/184020_2.png) [@Bhagyashri](https://meta.discourse.org/u/Bhagyashri)
#### Post date: [June 18, 2021, 11:31am UTC](https://meta.discourse.org/t/database-access-required-for-our-forum/194276/5 "2021-06-18T11:31:51Z")

</div>

thanks, that might help. But also want to know about the way to update the database if possible.

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [June 18, 2021, 11:54am UTC](https://meta.discourse.org/t/database-access-required-for-our-forum/194276/6 "2021-06-18T11:54:02Z")

</div>

On the SaaS version of discourse, You don’t have access to the database or application server. All the updates are being managed by the discourse engineers. If you’d like to access (not recommended) the database directly yourself, You may consider self hosting.

---

<div class="post-metadata">

### Author: ![TallTrees](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/talltrees/32/208620_2.png) [@TallTrees](https://meta.discourse.org/u/TallTrees)
#### Post date: [June 18, 2021, 11:55am UTC](https://meta.discourse.org/t/database-access-required-for-our-forum/194276/7 "2021-06-18T11:55:59Z")

</div>

If you self-host, you also have the option of installing the [data explorer](https://meta.discourse.org/t/32566?silent=true) plugin, which in many cases is probably better than direct db access.

---

<div class="post-metadata">

### Author: ![Bhagyashri](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bhagyashri/32/184020_2.png) [@Bhagyashri](https://meta.discourse.org/u/Bhagyashri)
#### Post date: [June 18, 2021, 12:11pm UTC](https://meta.discourse.org/t/database-access-required-for-our-forum/194276/8 "2021-06-18T12:11:41Z")

</div>

What is self hosting?

---

<div class="post-metadata">

### Author: ![TallTrees](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/talltrees/32/208620_2.png) [@TallTrees](https://meta.discourse.org/u/TallTrees)
#### Post date: [June 18, 2021, 12:15pm UTC](https://meta.discourse.org/t/database-access-required-for-our-forum/194276/9 "2021-06-18T12:15:52Z")

</div>

If you have an Internet facing host, a domain, mail servers and a whole lot of time, you can install Discourse and run it your own server: [discourse/docs/INSTALL.md at main · discourse/discourse · GitHub](https://github.com/discourse/discourse/blob/master/docs/INSTALL.md)
