# 2ND database lost in as many weeks

**URL:** <https://community.localwp.com/t/2nd-database-lost-in-as-many-weeks/26095>\
**Category:** Support\
**Created:** [June 25, 2021, 5:24pm UTC](https://community.localwp.com/t/2nd-database-lost-in-as-many-weeks/26095 "2021-06-25T17:24:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wpneily](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/wpneily/32/9509_2.png) [@wpneily](https://community.localwp.com/u/wpneily)\
**Post date:** [June 25, 2021, 5:24pm UTC](https://community.localwp.com/t/2nd-database-lost-in-as-many-weeks/26095/1 "2021-06-25T17:24:06Z")

</div>

### Issue Summary

“error establishing a database connection” This time (this happened last week to another one of my sites) the error happened as I was navigating through the site. Hit a couple of pages and then it failed.

#### Troubleshooting Questions

- Does this happen for all sites in Local, or just one in particular?  
This is the second site so far.

- Are you able to create a new, plain WordPress site in Local and access it in a Browser?  
Yes, I had to do that with the first site that went down. I recreated a new local, did a git pull of the theme from remote and then used db Migrate pro to pull the database. I just regarded this as a one off issue. Now that this has happened to a second site, I am concerned I’m going to lose all of them.

#### Replication

Describe the steps that others can take to replicate this issue. If you have screenshots that can help clarify what is happening, please include them!  
Opening local and starting a site

#### System Details

- Which version of Local is being used?  
Local 5.10.5

- What Operating System (OS) and OS version is being used?  
macOS 11.4 Big Sur

[local-lightning.log](https://community.localwp.com/uploads/short-url/j81ptHA3ZuBHnTXRSW5DNTnkPmD.log) (509.5 KB)

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [September 23, 2021, 5:24pm UTC](https://community.localwp.com/t/2nd-database-lost-in-as-many-weeks/26095/2 "2021-09-23T17:24:09Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
