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

Created on 17 April 2018, over 6 years ago
Updated 21 June 2023, over 1 year ago

D8.5.1
When uninstall a module with drupal module:uninstall
the MySQL server has gone away
SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: CREATE TABLE {cache_menu} (
`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
(
)

💬 Support request
Status

Closed: duplicate

Version

8.9 ⚰️

Component
Database 

Last updated 5 days ago

  • Maintained by
  • 🇳🇱Netherlands @daffie
Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024