wp-env fails in GitLab CI with “YIKES! It looks like you’re running this as root”

In some quick testing, I found that if I defined WP_CLI_ALLOW_ROOT=1 after I was already running as root, then WP CLI wouldn’t complain. I don’t know a lot about GitLab CI, unfortunately, but I’d try this to see if it works: image: docker:24.0.7 services: – docker:24.0.7-dind variables: DOCKER_HOST: tcp://docker:2375 DOCKER_TLS_CERTDIR: “” before_script: – apk add … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)