[PATCH v2 5/6] Allow use of Docker for development
Daniel Axtens
dja at axtens.net
Tue Aug 9 09:22:30 AEST 2016
Andrew Donnellan <andrew.donnellan at au1.ibm.com> writes:
> Attaching to patchwork_db_1, patchwork_web_1
> db_1 | Initializing database
> web_1 | MySQL seems not to be connected, or the patchwork user is broken
> web_1 | MySQL may still be starting. Waiting 5 seconds.
> web_1 | Still cannot connect to MySQL.
> web_1 | Are you using docker-compose? If not, have you set up the link
> correctly?
> patchwork_web_1 exited with code 1
> db_1 | Database initialized
> db_1 | MySQL init process in progress...
...
>
> Perhaps 5 seconds isn't enough?
>
Erk. So it's OK in general, just not if the database is being set up for
the first time. I'll make it sleep a bit longer to catch that and I'll
test without a DB instance.
Regards,
Daniel
> --
> Andrew Donnellan OzLabs, ADL Canberra
> andrew.donnellan at au1.ibm.com IBM Australia Limited
More information about the Patchwork
mailing list