# Bedrock installation : Issue with database

**URL:** <https://community.localwp.com/t/bedrock-installation-issue-with-database/40885>\
**Category:** Support\
**Tags:** mac\
**Created:** [January 17, 2024, 11:41am UTC](https://community.localwp.com/t/bedrock-installation-issue-with-database/40885 "2024-01-17T11:41:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ftiar91](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/ftiar91/32/20667_2.png) [@ftiar91](https://community.localwp.com/u/ftiar91)\
**Post date:** [January 17, 2024, 11:41am UTC](https://community.localwp.com/t/bedrock-installation-issue-with-database/40885/1 "2024-01-17T11:41:15Z")

</div>

### What issue or error are you experiencing?

Hello,

I have quite good experience with Bedrock and Local.

Last year I have already tried to use a Bedrock website inside Local with success, but this time it doesn’t seem to work.

I followed this guide: [Using Bedrock with Local by Flywheel | Bedrock Docs | Roots](https://roots.io/bedrock/docs/bedrock-with-local/)

I tried many stuff but I still have the DB issue when trying to access WordPress, despite I’m able to connect to the DB with SequelPro for example.

my .env file is pretty common:

```auto
DB_NAME='local'
DB_USER='root'
DB_PASSWORD='root'
DB_HOST='localhost'

WP_HOME='http://localhost:10039'
WP_SITEURL="${WP_HOME}/wp"

```

I updated the nginx config accordingly as well. Is there a recent change to the software that impacted this kind of custom setup maybe?

## I tried with both different router mode, localhost and custom domain name, it doesn’t change the issue.

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

 ![screen](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/9/1/91bfbb6ea0b366419fb09c29085d952432f9f2c2.jpeg)

* * *

### System Details

- **Local Version:**  
Version 8.2.0+6554

- **Operating System (OS) and OS version:**  
MacOs Ventura13.4 (22F66)

* * *

### Local Logs

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

* * *

_ **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:** [January 18, 2024, 4:48pm UTC](https://community.localwp.com/t/bedrock-installation-issue-with-database/40885/2 "2024-01-18T16:48:24Z")

</div>

Hi @ftiar91

I’m not experienced with Bedrock myself but I think there might be some issues with that article. The information provided here might be helpful:

> [@Bedrock/Roots Native compatibility](https://community.localwp.com/t/bedrock-roots-native-compatibility/37129):
>
> It would be nice to see some native support for Bedrock/Roots ( [Bedrock | Modern WordPress Boilerplate | Roots](https://roots.io/bedrock/) ) Local has Composer support natively so its half way there! there is a guide on how to install bedrock with local here [Bedrock with Local | Bedrock Docs | Roots](https://roots.io/bedrock/docs/bedrock-with-local/) However, this does come with some drawbacks. the overview and database tabs for the site do not load information as they are expecting to see “wp-config” in public. I believe a quick fix to making bedrock work with local wo…

We also have a feature request for Bedrock here if you want to vote or comment:

> [@Support Bedrock in Local](https://community.localwp.com/t/support-bedrock-in-local/35840):
>
> Creating a parent feature request so that we can drive discussion around if supporting Bedrock in Local makes sense. I’ll grab relevant threads and drop them here, but for now, feel free to upvote!

---

<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:** [April 17, 2024, 4:49pm UTC](https://community.localwp.com/t/bedrock-installation-issue-with-database/40885/3 "2024-04-17T16:49:21Z")

</div>

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