wp-cli db commands not working, is it missing mysql-client?
aaronjpitts opened this issue · 2 comments
aaronjpitts commented
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 commented
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 commented
@aaronjpitts yes, thanks for noticing :) Fixed now