[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: environment variables when running multiple containers in one pod



2017-11-27 10:34 GMT+01:00 Yu Wei <yu2003w hotmail com>:

Hi,

When running mysql with other containers within one pod, it seemed that environment variable "MYSQL_ROOT_PASSWORD" didn't work as expected.

Password set in "MYSQL_ROOT_PASSWORD" couldn't be used for connecting to mysql.


It doesn't work only when other containers are being created and when they try to connect to mysql container? If yes, then it could be a race when mysql container isn't ready while others try to connect to it.


--
Slava Semushin | OpenShift

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]