New mariadb version breaks @wordpress/env funcionality #59244
Labels
[Status] Duplicate
Used to indicate that a current issue matches an existing one and can be closed
[Tool] Env
/packages/env
[Type] Bug
An existing feature does not function as intended
Description
Since the release of a new mariadb docker image, starting an environment over @wordpress/env doesn't work anymore.
Workaround
Change mariadb images in
build-docker-compose-config.js
frommariadb
to a prior version likemariadb:10.3
Suggestion
Make mariadb version selectable and default to a reasonable version, not latest.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
❯ npx wp-env start
✖ Error while running docker compose command.
Container 879c0e8cf3a66537f687a6eca145da4c-tests-mysql-1 Running
Container 879c0e8cf3a66537f687a6eca145da4c-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 attests-mysql
could not be established. This could mean your host’s database server is down.Environment info
macOS 14.2.1
Docker version 20.10.23, build 7155243
v20.11.1
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
The text was updated successfully, but these errors were encountered: