MySQL Dump läßt sich nicht re-importieren

Alles, was MariaDB und MySQL betrifft, kann hier besprochen werden.

MySQL Dump läßt sich nicht re-importieren

Postby guest_cr » 14. February 2003 20:43

Hallo,

Ich komm nicht drauf, was hier falsch ist.
Per PHPMyAdmin erzeuge ich einen Dump einer Tabelle. Diesen will ich anschließend wieder einlesen. Ich bekomme aber eine Fehlermeldung... und finde nicht, was ich ändern müßte . Vielleicht sieht das ja jemand von euch:

der Dump:
Code: Select all
CREATE TABLE aktuell_siedlung2 (
  index tinyint(4) NOT NULL auto_increment,
  datum timestamp(8) NOT NULL,
  inhalt text NOT NULL,
  KEY index (index)
) TYPE=MyISAM;


die Fehlermeldung:
You have an error in your SQL syntax near 'tinyint(4) NOT NULL auto_increment,
datum timestamp(8) NOT NULL,
inhalt te' at line 2


thxs for help
guest_cr
 

MySQL Dump läßt sich nicht re-importieren

Postby wim1 » 25. February 2003 15:07

Die erste Spalte sollte nicht den Namen "Index" bekommen, da MySQL selbst Index als Schlüsselwort benutzt.

cu
-wim-
wim1
 


Return to MariaDB - MySQL

Who is online

Users browsing this forum: No registered users and 5 guests