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

After entering some custom fields, I went to /content and now I am getting the following error: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away.

I’ve tried the following with no success:

-Cleared cache (via drush) -Rebuilt Docker Container with increase in PHP config’s max_allowed_packet (recommended by several posts online) -Restart container/docker

If I connect to another database, I don’t see the error.

Here is the complete error:

Additional uncaught exception thrown while handling exception.  Original  Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: CREATE TABLE {cache_default} ( `cid` VARCHAR(255) BINARY CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL DEFAULT '' COMMENT 'Primary Key: Unique cache ID.', `data` LONGBLOB NULL DEFAULT NULL COMMENT 'A collection of data to cache.', `expire` INT NOT NULL DEFAULT 0 COMMENT 'A Unix timestamp indicating when the cache entry should expire, or -1 for never.', `created` DECIMAL(14, 3) NOT NULL DEFAULT 0 COMMENT 'A timestamp with millisecond precision indicating when the cache entry was created.', `serialized` SMALLINT NOT NULL DEFAULT 0 COMMENT 'A flag to indicate whether content is serialized (1) or not (0).', `tags` LONGTEXT NULL DEFAULT NULL COMMENT 'Space-separated list of cache tags for this entry.', `checksum` VARCHAR(255) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL COMMENT 'The tag invalidation checksum when this entry was saved.', PRIMARY KEY (`cid`), INDEX `expire` (`expire`), INDEX `created` (`created`) ) ENGINE = InnoDB DEFAULT CHARACTER SET utf8mb4 COMMENT 'Storage for the cache API.'; Array ( ) in Drupal\views\ViewsData->cacheSet() (line 211 of /var/www/html/core/modules/views/src/ViewsData.php).  Drupal\views\ViewsData->cacheSet('views_data', Array) (Line: 259) Drupal\views\ViewsData->getData() (Line: 162) Drupal\views\ViewsData->get('block_content') (Line: 91) Drupal\views\Plugin\Derivative\ViewsEntityRow->getDerivativeDefinitions(Array) (Line: 101) Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator->getDerivatives(Array) (Line: 87) Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator->getDefinitions() (Line: 284) Drupal\Core\Plugin\DefaultPluginManager->findDefinitions() (Line: 175) Drupal\Core\Plugin\DefaultPluginManager->getDefinitions() (Line: 147) views_theme(Array, 'module', 'views', 'core/modules/views') (Line: 447) Drupal\Core\Theme\Registry->processExtension(Array, 'views', 'module', 'views', 'core/modules/views') (Line: 334) Drupal\Core\Theme\Registry->build() (Line: 233) Drupal\Core\Theme\Registry->get() (Line: 86) Drupal\Core\Utility\ThemeRegistry->initializeRegistry() (Line: 67) Drupal\Core\Utility\ThemeRegistry->__construct('theme_registry:runtime:seven', Object, Object, Array, 1) (Line: 253) Drupal\Core\Theme\Registry->getRuntime() (Line: 142) Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 437) Drupal\Core\Render\Renderer->doRender(Array, 1) (Line: 195) Drupal\Core\Render\Renderer->render(Array, 1) (Line: 139) Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}() (Line: 582) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 140) Drupal\Core\Render\Renderer->renderRoot(Array) (Line: 66) Drupal\Core\Render\BareHtmlPageRenderer->renderBarePage(Array, Object, 'install_page', Array) (Line: 76) Drupal\Core\ProxyClass\Render\BareHtmlPageRenderer->renderBarePage(Array, Object, 'install_page', Array) (Line: 1005) install_display_output(Array, Array) (Line: 156) install_drupal(Object) (Line: 44)  Additional  Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: CREATE TABLE {cache_default} ( `cid` VARCHAR(255) BINARY CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL DEFAULT '' COMMENT 'Primary Key: Unique cache ID.', `data` LONGBLOB NULL DEFAULT NULL COMMENT 'A collection of data to cache.', `expire` INT NOT NULL DEFAULT 0 COMMENT 'A Unix timestamp indicating when the cache entry should expire, or -1 for never.', `created` DECIMAL(14, 3) NOT NULL DEFAULT 0 COMMENT 'A timestamp with millisecond precision indicating when the cache entry was created.', `serialized` SMALLINT NOT NULL DEFAULT 0 COMMENT 'A flag to indicate whether content is serialized (1) or not (0).', `tags` LONGTEXT NULL DEFAULT NULL COMMENT 'Space-separated list of cache tags for this entry.', `checksum` VARCHAR(255) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL COMMENT 'The tag invalidation checksum when this entry was saved.', PRIMARY KEY (`cid`), INDEX `expire` (`expire`), INDEX `created` (`created`) ) ENGINE = InnoDB DEFAULT CHARACTER SET utf8mb4 COMMENT 'Storage for the cache API.'; Array ( ) in Drupal\views\ViewsData->cacheSet() (line 211 of /var/www/html/core/modules/views/src/ViewsData.php).  Drupal\views\ViewsData->cacheSet('views_data:block_content', Array) (Line: 178) Drupal\views\ViewsData->get('block_content') (Line: 91) Drupal\views\Plugin\Derivative\ViewsEntityRow->getDerivativeDefinitions(Array) (Line: 101) Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator->getDerivatives(Array) (Line: 87) Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator->getDefinitions() (Line: 284) Drupal\Core\Plugin\DefaultPluginManager->findDefinitions() (Line: 175) Drupal\Core\Plugin\DefaultPluginManager->getDefinitions() (Line: 147) views_theme(Array, 'module', 'views', 'core/modules/views') (Line: 447) Drupal\Core\Theme\Registry->processExtension(Array, 'views', 'module', 'views', 'core/modules/views') (Line: 334) Drupal\Core\Theme\Registry->build() (Line: 233) Drupal\Core\Theme\Registry->get() (Line: 86) Drupal\Core\Utility\ThemeRegistry->initializeRegistry() (Line: 67) Drupal\Core\Utility\ThemeRegistry->__construct('theme_registry:runtime:seven', Object, Object, Array, 1) (Line: 253) Drupal\Core\Theme\Registry->getRuntime() (Line: 142) Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 437) Drupal\Core\Render\Renderer->doRender(Array, 1) (Line: 195) Drupal\Core\Render\Renderer->render(Array, 1) (Line: 139) Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}() (Line: 582) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 140) Drupal\Core\Render\Renderer->renderRoot(Array) (Line: 66) Drupal\Core\Render\BareHtmlPageRenderer->renderBarePage(Array, 'Error', 'install_page', Array) (Line: 76) Drupal\Core\ProxyClass\Render\BareHtmlPageRenderer->renderBarePage(Array, 'Error', 'install_page', Array) (Line: 1005) install_display_output(Array, Array, Array) (Line: 260) _drupal_log_error(Array, 1) (Line: 600) _drupal_exception_handler(Object)