Docker site not working after changing "max_allowed_packet" to perform site restore

Hi, I had to do a set global max_allowed_packet=64*1024*1024; to resolve the error of ERROR 2006 (HY000) at line 10013: MySQL server has gone away which I encountered when restoring my site. After doing this, the database import is successful on both V12 and V13 but the site is down!

(migrate did not work on v12 due to permission issues on docker container but V13 migration worked)

It seems that adding set global max_allowed_packet=64*1024*1024; makes the site go down even for a fresh install.

Any advice?

Try this Command:

set global max_allowed_packet=1000000000;