hi,

just updated Drupal 8 to 8.0.5 core using drush and I get the following error:

Do you wish to run all pending updates? (y/n): y
Performing views_update_8004 [ok]
Performing content_translation_update_8002 [ok]
Cache rebuild complete. [ok]
Post updating field [ok]
Cache rebuild complete. [ok]
Finished performing updates. [ok]
Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[HY000]: [error]
General error: 2006 MySQL server has gone away: CREATE TABLE
{cache_config} (
`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`)
) ENGINE = InnoDB DEFAULT CHARACTER SET utf8mb4 COMMENT 'Storage for
the cache API.'; Array
(
)
in Drupal\Core\Config\CachedStorage->readMultiple() (line 110 of
/.../..../..../projects/Drupal8/core/lib/Drupal/Core/Config/CachedStorage.php).
Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: CREATE TABLE {cache_config} (
`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`)
) ENGINE = InnoDB DEFAULT CHARACTER SET utf8mb4 COMMENT 'Storage for the cache API.'; Array
(
)
in Drupal\Core\Config\CachedStorage->readMultiple() (line 110 of /..../..../..../projects/Drupal8/core/lib/Drupal/Core/Config/CachedStorage.php).
Drush command terminated abnormally due to an unrecoverable error. [error]

DB corrupt or some other problem?

Greetz

Luc

Comments

sachbearbeiter’s picture

Exact the same error message for me ... (8.0.3 to 8.0.5)
Maybe you should open an D8 core issue ...

sachbearbeiter’s picture

Have a look here:

https://github.com/drush-ops/drush/issues/1747

Maybe we should update our drush version ;)

dzinelabs’s picture

Well seems it's a Drupal bug.. I'll wait until it get fixed...