Andrew Donnellan <[email protected]> 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
> [email protected]  IBM Australia Limited
_______________________________________________
Patchwork mailing list
[email protected]
https://lists.ozlabs.org/listinfo/patchwork

Reply via email to