CREATE TABLE IF NOT EXISTS `db_product_time` (
`id` int(10) unsigned NOT NULL,
`id_user` int(10) unsigned NOT NULL,
`name` varchar(45) NOT NULL,
`date_add` int(10) unsigned NOT NULL,
`date_del` int(10) unsigned NOT NULL,
`status` int(10) unsigned NOT NULL
) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=utf8;
ALTER TABLE `db_product_time`
ADD PRIMARY KEY (`id`);
ALTER TABLE `db_product_time`
MODIFY `id` int(10) unsigned NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=1;
А в инструкции этот код был прописан
CREATE TABLE `db_product_time` (
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
`id_user` INT(10) UNSIGNED NOT NULL,
`name` VARCHAR(45) NOT NULL,
`date_add` INT(10) UNSIGNED NOT NULL,
`date_del` INT(10) UNSIGNED NOT NULL,
`status` INT(10) UNSIGNED NOT NULL,
PRIMARY KEY (`id`)
)
COLLATE='utf8_general_ci'
ENGINE=MyISAM
AUTO_INCREMENT=1;