# Database Connectivity Issue

**URL:** <https://community.localwp.com/t/database-connectivity-issue/44681>\
**Category:** Support\
**Created:** [September 23, 2024, 10:16pm UTC](https://community.localwp.com/t/database-connectivity-issue/44681 "2024-09-23T22:16:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![likethegoddess](https://avatars.discourse-cdn.com/v4/letter/l/a8b319/32.png) [@likethegoddess](https://community.localwp.com/u/likethegoddess)\
**Post date:** [September 23, 2024, 10:16pm UTC](https://community.localwp.com/t/database-connectivity-issue/44681/1 "2024-09-23T22:16:23Z")

</div>

### What issue or error are you experiencing?

Pulling from staging causes Database Connectivity Issue.

* * *

### What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc

1. Select the active site
2. Select Pull. I tried Staging and Production each with files and db and files only. All produced the same effect.
3. Local site no longer loads but displays Database Connectivity Issue:  
"503

# There was a database connection issue

* * *

The server was unable to connect to the database. You might try refreshing the page. If you continue to get this message, you should contact the site owner."

* * *

### System Details

- **Local Version:**

- Version 9.0.5+6706

- **Operating System (OS) and OS version:**

- Windows 10

* * *

### Local Logs

Attach your Local Logs here ([Help Doc - Retrieving Local’s Log](https://localwp.com/help-docs/troubleshooting/retrieving-locals-log-file/))

## [local-lightning.log](https://community.localwp.com/uploads/short-url/kAQjbaVBpSurYcXyPem4aQJ8AZK.log) (759.1 KB)

_ **Security Reminder** _  
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [September 24, 2024, 1:35pm UTC](https://community.localwp.com/t/database-connectivity-issue/44681/2 "2024-09-24T13:35:46Z")

</div>

Hi @likethegoddess

You might try looking through our performance guide below here to start. Errors like this can sometimes be due to things like resources, plugin/theme issues, or other configuration conflicts.

> **[Troubleshoot: Performance Issues](https://localwp.com/help-docs/troubleshooting/troubleshooting-performance-issues-in-local/)**
>
> Performance issues can be hard to fix! The best thing to do is zero in on where the slowness is occurring. Here are some suggestions to help set you up for success and ensure things are running as…

---

<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:** [December 23, 2024, 1:36pm UTC](https://community.localwp.com/t/database-connectivity-issue/44681/3 "2024-12-23T13:36:46Z")

</div>

Closed on December 23, 2024, 1:36pm UTC

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