Document that Drupal 8 database exports with some versions of phpmyadmin are broken

Created on 28 May 2015, almost 10 years ago
Updated 21 July 2024, 9 months ago

Exporting a Drupal 8 database with phpMyAdmin will result in a broken database dump.

On import you will get the following mysql error:

 CREATE  TABLE  `test`.`key_value` (  `collection` varchar( 128  )  NOT  NULL DEFAULT  '' COMMENT  'A named collection of key and value pairs.' `value` longblob NOT  NULL  COMMENT  'The value.',
 PRIMARY  KEY (  `collection` ,  `name`  )  ) ENGINE  = InnoDB  DEFAULT CHARSET  = utf8 COMMENT  =  'Generic key-value storage table. See the state system forโ€ฆ'

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`value` longblob NOT  NULL  COMMENT  'The value.',

The problem is in the name column of the key_value table. See #5.

๐Ÿ“Œ Task
Status

Postponed: needs info

Component

Missing documentation

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia raysunil

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