good_br
@good_br
учусь

Как импортировать БД mysql игнорируя дубли?

Для работы с БД использую программу Workbanch 6.0 столкнулся с такой проблемой:
Не могу импортировать базу программа выводит ошибку ссылаясь на дубли в дампе, база была разбита на несколько частей, сейчас я пытаюсь ее соединять.
Как можно добавить дамп к имеющееся базе в данном случае ?

Так выглядит ошибка : "https://youtu.be/hUDa-lf2Z8Y"

Структура БД :
-- Дамп структуры для таблица sjob.profil
CREATE TABLE if not exists `profil14` (
  `id` int(10) unsigned NOT NULL DEFAULT '0',
  `payment` int(10) unsigned NOT NULL DEFAULT '0',
  `town` smallint(5) unsigned DEFAULT NULL,
  `type_of_work` tinyint(3) unsigned DEFAULT NULL,
  `place_of_work` tinyint(3) unsigned DEFAULT NULL,
  `firstname` varchar(20) NOT NULL DEFAULT '',
  `lastname` varchar(30) NOT NULL DEFAULT '',
  `middlname` varchar(20) NOT NULL DEFAULT '',
  `pol` tinyint(3) unsigned DEFAULT NULL,
  `birthday` tinyint(3) unsigned DEFAULT NULL,
  `birthmonth` tinyint(3) unsigned DEFAULT NULL,
  `birthyear` year(4) DEFAULT NULL,
  `age` tinyint(3) unsigned DEFAULT NULL,
  `maritalstatus` tinyint(3) unsigned DEFAULT NULL,
  `children` tinyint(3) unsigned DEFAULT NULL,
  `phone1` varchar(35) DEFAULT NULL,
  `phone2` varchar(35) DEFAULT NULL,
  `email1` varchar(100) DEFAULT NULL,
  `best` mediumtext,
  `dop` mediumtext,
  `driving_licence` varchar(50) DEFAULT NULL,
  `region` tinyint(3) unsigned DEFAULT NULL,
  `education` tinyint(3) unsigned DEFAULT NULL,
  `desired_profession` mediumtext,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
-- Дамп данных таблицы sjob.profil: ~417 560 rows (приблизительно)
/*!40000 ALTER TABLE `profil14` DISABLE KEYS */;
INSERT INTO `profil` (`id`, `payment`, `town`, `type_of_work`, `place_of_work`, `firstname`, `lastname`, `middlname`, `pol`, `birthday`, `birthmonth`, `birthyear`, `age`, `maritalstatus`, `children`, `phone1`, `phone2`, `email1`, `best`, `dop`, `driving_licence`, `region`, `education`, `desired_profession`) VALUES
  • Вопрос задан
  • 44 просмотра
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы