For context: I'm trying to set up an old Wordpress site on a staging server. When I try to upload the sql backup I receive the following error message:
>Error
>SQL query:
>--
-- Database: `db_name`
>--
-- --------------------------------------------------------
>--
>-- Table structure for table `wp_commentmeta`
>--
>CREATE TABLE IF NOT EXISTS `wp_commentmeta` (
> `meta_id` BIGINT( 20 ) UNSIGNED NOT NULL AUTO_INCREMENT ,
> `comment_id` BIGINT( 20 ) UNSIGNED NOT NULL DEFAULT '0',
> `meta_key` VARCHAR( 255 ) DEFAULT NULL ,
> `meta_value` LONGTEXT
>) ENGINE = MYISAM AUTO_INCREMENT =3339 DEFAULT CHARSET = utf8;
>MySQL said: Documentation
>#1075 - Incorrect table definition; there can be only one auto column and it must be defined as a key
>----------------------
I'm lousy with SQL so I was hoping if someone could help me decipher this.