Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wp-env latest images broken with error mysqlcheck access denied for user #29810

Closed
andrewmumblebee opened this issue Mar 12, 2021 · 1 comment
Labels
[Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed

Comments

@andrewmumblebee
Copy link

andrewmumblebee commented Mar 12, 2021

Description

wp-env was working fine until yesterday for me, when i decided to change a bit of the wp-env.json file and it seemed to rebuild the container with the latest images. now i can't use it to run a WordPress environment. I assumed it was the change i made at first, but after retrying it without a config file and then on a separate machine (with a fresh install of wp-env) i still have the exact same error.

This is what i get running wp-env start

✖ Error while running docker-compose command.
Creating 0be3c9e22068177d621496940e46490a_cli_run ... 
Creating 0be3c9e22068177d621496940e46490a_cli_run ... done
mysqlcheck: Got error: 1045: Access denied for user 'username_here'@'172.20.0.5' (using password: YES) when trying to connect
2

The containers are still running, but the database connection is borked.

Step-by-step reproduction instructions

  1. run wp-env start after changing config file

Expected behaviour

I can run a WordPress environment

Actual behaviour

I can't run a WordPress environment and have had to resort to traditional dev setup i.e. Local or setting up WordPress with LAMP on WSL.

Device information

  • Device: Desktop
  • Operating system: Windows 10
@mirka
Copy link
Member

mirka commented Mar 12, 2021

Duplicate of #29752

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed
Projects
None yet
Development

No branches or pull requests

3 participants