# Power went out and turned off PC abruptly. Now I get Error establishing a database connection when I start my local website

**URL:** <https://community.localwp.com/t/power-went-out-and-turned-off-pc-abruptly-now-i-get-error-establishing-a-database-connection-when-i-start-my-local-website/10697>\
**Category:** Support\
**Created:** [January 25, 2019, 11:55pm UTC](https://community.localwp.com/t/power-went-out-and-turned-off-pc-abruptly-now-i-get-error-establishing-a-database-connection-when-i-start-my-local-website/10697 "2019-01-25T23:55:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![thejackandthehat](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/thejackandthehat/32/6944_2.png) [@thejackandthehat](https://community.localwp.com/u/thejackandthehat)\
**Post date:** [January 25, 2019, 11:55pm UTC](https://community.localwp.com/t/power-went-out-and-turned-off-pc-abruptly-now-i-get-error-establishing-a-database-connection-when-i-start-my-local-website/10697/1 "2019-01-25T23:55:11Z")

</div>

From the looks of other posts, its because Local didn’t get to backup the SQL database. When I try and log in on Adminer, it says it doesn’t exist. The SQL folder seems to be missing from the APP directory. is there anyway to recreate the database or something like that because this is a clients site that I don’t have enough time to recreate it.

---

<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:** [August 25, 2020, 6:36pm UTC](https://community.localwp.com/t/power-went-out-and-turned-off-pc-abruptly-now-i-get-error-establishing-a-database-connection-when-i-start-my-local-website/10697/2 "2020-08-25T18:36:18Z")

</div>


