MySQL server has gone away

Current royalcms version: 8.1.0