docker-compose-development icon indicating copy to clipboard operation
docker-compose-development copied to clipboard

Setup waiting for DB too long, double MYSQL_ROOT_PASSWORD in .env file

Open Martenvanurk opened this issue 4 years ago • 0 comments

After checking out the master branch and running bin/dev setup, the setup continuously polling for the db connection. But the percona db instance was already excited because no MYSQL_ROOT_PASSWORD was found.

Checking the .env file which was created by the setup script contains a double entry for MYSQL_ROOT_PASSWORD though.

DOMAINSUFFIX=.2solar COMPOSER_MEMORY_LIMIT=-1 MYSQL_ROOT_PASSWORD=c MYSQL_ROOT_PASSWORD=

After cleaning up one entry and choosing a password like secret everything working again (cleaning up the orphans and volumes first before running the setup again)

Martenvanurk avatar Apr 16 '21 12:04 Martenvanurk