Skip to content

wp-config not working!!! #731

Closed
Closed
@dbrosy

Description

@dbrosy

This is frustrating,

my wp-config.php no longer has database connection setting set. Instead it has getenv_docker...
if I use wp db check this fails as it is trying to connect to mysql

I have set environment variables 'WORDPRESS_DB_HOST' etc but its not reading them

using wp cli 2.6.0

I see lots of people having issues but no solutions.

if I set database credentials via env variables should wpcli read the variables?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionUsability question, not directly related to an error with the image

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions