WordPress 4.4.2 Database Restoration MySQL Error 1005
-
Hi, I’m trying to use a backup to restore a WordPress database through phpmyadmin and I’m unable to create a certain table.
SQL query:
CREATE TABLE
wp_commentmeta
(
meta_id
bigint( 20 ) unsigned NOT NULL AUTO_INCREMENT ,
comment_id
bigint( 20 ) unsigned NOT NULL DEFAULT ‘0’,
meta_key
varchar( 255 ) COLLATE utf8mb4_unicode_ci DEFAULT NULL ,
meta_value
longtext COLLATE utf8mb4_unicode_ci,
PRIMARY KEY (meta_id
) ,
KEYcomment_id
(comment_id
) ,
KEYmeta_key
(meta_key
( 191 ) )
) ENGINE = InnoDB AUTO_INCREMENT=78 DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci;MySQL said: Documentation
#1005 – Can’t create table ‘gdworld_wp337.wp_commentmeta’ (errno: -1) (Details…)MySQL documentation says this error -1 might occur if trying to use internal InnoDB column names.
- The topic ‘WordPress 4.4.2 Database Restoration MySQL Error 1005’ is closed to new replies.