# Need help! Error establishing a database connection"

**URL:** <https://community.localwp.com/t/need-help-error-establishing-a-database-connection/13785>\
**Category:** Support\
**Created:** [August 22, 2019, 7:36pm UTC](https://community.localwp.com/t/need-help-error-establishing-a-database-connection/13785 "2019-08-22T19:36:05Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mattwhosthat](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/mattwhosthat/32/7794_2.png) [@mattwhosthat](https://community.localwp.com/u/mattwhosthat)\
**Post date:** [August 23, 2019, 7:40pm UTC](https://community.localwp.com/t/need-help-error-establishing-a-database-connection/13785/2 "2019-08-23T19:40:31Z")

</div>

Hey @msmichelle, thanks for hanging with us. Just to catch up to speed from what we’ve talked about so far (in the support ticket) - we’re clarifying that when we reference Flywheel, we’re talking about things that happen in the Flywheel app ([https://app.getflywheel.com](https://app.getflywheel.com)) or on a site that is hosted on Flywheel. When we refer to Local, we’re talking about the application on your computer, or a site that only exists there in a local environment. And finally, WordPress or the WP Admin, refers to the software that the site runs on, within Local.

Ok… We’ve also reinstalled Local (with the latest version, 3.3.0) and VirtualBox and are at a place where we know _other_ sites are working, but the one you installed LearnDash is not.

At this point, we’re probably going to need to dive into the Local and site logs to get a better idea what’s going on. Can you please provide your `local-by-flywheel.log` file? See this Community Forum post for instructions on how to do so:

- [How do I retrieve Local’s Log?](https://localbyflywheel.com/community/t/how-do-i-retrieve-locals-log-file/3720)

Also, can you provide a zip of the `logs` folder under the site’s folder? You should see `logs` next to `app`.

---

_[View the full topic](https://community.localwp.com/t/need-help-error-establishing-a-database-connection/13785)._
