The problem is not with django, but with your mysql setup
https://dev.mysql.com/doc/refman/8.0/en/gone-away.html
One of the ways to solve it is to increase connection timeout in mysql configs
Thanks, but wouldn't increasing connection timeout just pospose the problem? The Django command is meant to be running forever. Plus, if as per the documentation, connection is closed after each statement, why does it reach timeout there?
Nico
Alex
Vxvek
Harish
Брат
Charanjit Singh
Coders Needed Eth
ѕнυĸυralι
Pragati singh
Sanji
MohammadMahdi
Anshul
Azizbek Xushnazarov
Marcos
Abdalwhab
Maxim
Nayan
Rohan