Database Upgrade Failure

When upgrading the database from 3 to 4, I am seeing the error on the CollationToUtfmb4Migration migration.

PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away

I have tried changing timeouts for the sql server and in my php config, but nothing seems to resolve it.

I figured it out. The session table in the database was huge. I truncated that manually and reran the migration and now it is functioning.

1 Like