sLgFiRE
Lieutenant
- Registriert
- März 2013
- Beiträge
- 876
Guten Tag Leute,
bin zurzeit dabei, mein DOTLAN Intranet upzugraden.
Jetzt wollte ich meine Datenbank auf das Intranet wieder importieren und dann kommt der fehler:
ERROR 1062 (23000) at line 53: Duplicate entry '1' for key 'PRIMARY'
Hab schon gegooglet aber nichts hilfreiches gefunden irgendwie.
Zeile 29 ist die besagte line 53:
aber was is daran falsch?
hoffe mir kann einer helfen.
bin zurzeit dabei, mein DOTLAN Intranet upzugraden.
Jetzt wollte ich meine Datenbank auf das Intranet wieder importieren und dann kommt der fehler:
ERROR 1062 (23000) at line 53: Duplicate entry '1' for key 'PRIMARY'
Hab schon gegooglet aber nichts hilfreiches gefunden irgendwie.
Zeile 29 ist die besagte line 53:
Code:
--
-- Tabellenstruktur für Tabelle `article`
--
CREATE TABLE IF NOT EXISTS `article` (
`id` int(11) NOT NULL,
`section_id` int(11) NOT NULL DEFAULT '0',
`dateline` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`user_id` int(11) NOT NULL DEFAULT '0',
`generator_id` int(11) NOT NULL DEFAULT '0',
`display_teamname` int(11) NOT NULL DEFAULT '0',
`title` varchar(255) DEFAULT NULL,
`content` longtext,
`encode` int(1) NOT NULL DEFAULT '0',
`readonly` int(1) NOT NULL DEFAULT '0',
`active` int(1) NOT NULL DEFAULT '1',
`edited` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`edituser` int(11) NOT NULL DEFAULT '0',
`count_read` int(11) NOT NULL DEFAULT '1',
`allow_comments` int(1) NOT NULL DEFAULT '0',
`comments` int(11) NOT NULL DEFAULT '0',
`intern` text
) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=utf8 PACK_KEYS=1;
--
-- Daten für Tabelle `article`
--
INSERT INTO `article` (`id`, `section_id`, `dateline`, `user_id`, `generator_id`, `display_teamname`, `title`, `content`, `encode`, `readonly`, `active`, `edited`, `edituser`, `count_read`, `allow_comments`, `comments`, `intern`) VALUES
aber was is daran falsch?
hoffe mir kann einer helfen.
Zuletzt bearbeitet: