Open
Description
When setup a new instance, changing the MySQL credentials will break the docker compose up
.
In fact, when changing one of those values from openitcockpit.env
, the container startup will fail with MySQL not available. Retrying...
MYSQL_DATABASE=openitcockpit_database
MYSQL_USER=openitcockpit
MYSQL_PASSWORD=openitcockpit_password
compose output
penitcockpit-ce-docker-statusengine-worker-1 | MySQL not available. Retrying...
openitcockpit-ce-docker-openitcockpit-1 | Waiting for Statusengine to create tables...
openitcockpit-ce-docker-mod_gearman_worker-1 | Waiting for openITCOCKPIT source code to be available
openitcockpit-ce-docker-openitcockpit-1 | Waiting for Statusengine to create tables...
openitcockpit-ce-docker-statusengine-worker-1 | MySQL not available. Retrying...
openitcockpit-ce-docker-openitcockpit-1 | Waiting for Statusengine to create tables...
openitcockpit-ce-docker-statusengine-worker-1 | MySQL not available. Retrying...
openitcockpit-ce-docker-openitcockpit-1 | Waiting for Statusengine to create tables...
openitcockpit-ce-docker-openitcockpit-1 | ERROR!
Changing this values works fine:
MYSQL_ROOT_PASSWORD=root_password
MYSQL_HOST=database-host
I was not able to test MYSQL_PORT
This affects version 4.8.2
To be fair, the comment says it's not recommended to change these values, how ever it should still be possible :)
Relates to #1
#1 (comment)