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-cli db commands not working, is it missing mysql-client? #54

Closed
aaronjpitts opened this issue Sep 20, 2020 · 2 comments
Closed

wp-cli db commands not working, is it missing mysql-client? #54

aaronjpitts opened this issue Sep 20, 2020 · 2 comments

Comments

@aaronjpitts
Copy link

When I log in to the container and run wp db reset --yes --allow-root it gives the error /usr/bin/env: 'mysql': No such file or directory, Is it missing the mysql-client?

Thanks in advance for your answer.

@aaronjpitts
Copy link
Author

Got it working by running apt-get update && apt-get dist-upgrade && apt-get install default-mysql-client on the container. Is there a better way to have this installed as standard?

Thanks :)

@urre
Copy link
Owner

urre commented Oct 4, 2020

@aaronjpitts yes, thanks for noticing :) Fixed now

@urre urre closed this as completed Oct 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants