Unable to find DB_Host, DB_Name, DB_User, DB_Password

Hello,

Local by Flywheel has been working perfectly up until recently.

Now, any time I create a local version of a website using a Duplicator package, once installed, I keep getting the ‘Error establishing a database connection’ message.

Looking in the ‘Database’ tab of Local, I can see that it’s unable to find DB_Host, DB_Name, DB_User, DB_Password.

Screenshot attached.

This now happens for any duplicator package I try to install.

Please can you advise?

Many thanks,
Oliver

Hi! Did you ever get a response to this question? I am having the same experience. I’d be curious to know if you found a solution. Thanks!

I am also having this problem with a brand new install. Any tips on a fix?

Hi,

In case someone is still looking for a solution, ensure that you have the given default values defined in wp-config.php. Adding them as shown below should resolve the issue. Best of luck!