Skip to content

Allow MySQL version to be passed using an environment variable #135

Description

@desrosj

The WordPress Core test suite was changed recently to run using a network of Docker containers. MySQL runs in its own container separate from the PHP container.

Because of this, the test runner cannot determine the version of MySQL being used when submitting results. An easy way around this would be to allow an environment variable to be set manually with the MySQL version being used.

Another option would be to detect when the local WP Core Docker environment is being used and call docker-compose run --rm mysql mysql --version instead of 'mysql --version' .

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions