An error was encountered

Error: Unable to connect to MySQL server. MySQL reported: MySQL server has gone away.