Skip to content

wp-env Error while running docker compose command #62242

Open

Description

Description

Hi there,

We are experiencing the following issue with wp-env:

Error while running docker compose command.
Container 389b8d981d610881ee022d53ce63130e-tests-mysql-1 Running
Container 389b8d981d610881ee022d53ce63130e-tests-wordpress-1 Running
Error: Error establishing a database connection. This either means that the username and password information in your wp-config.php file is incorrect or that contact with the database server at tests-mysql could not be established. This could mean your host’s database server is down.

It is happening in more than one of our repositories at the moment.

I see a MariaDB version was released a few days ago. Maybe it is related: https://mariadb.org/mariadb/all-releases/

Step-by-step reproduction instructions

  1. run wp-env start

Screenshots, screen recording, code snippet

No response

Environment info

  • Latest WP version
  • Latest wp-env version and v9.4.0 also tested.

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    [Tool] Env/packages/env[Type] Automated TestingTesting infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests.[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions