Problem beim Einspielen von Backup

Dizzy

Dizzy

Brain Damage
-erledigt- Problem beim Einspielen von Backup

Hallo,

ein Freund von mir hat - glaube per MySQLDumper - ein Backup gezogen und mich gebeten es einzuspielen.

Nun habe ich das Problem, dass ich beim einspielen (sei es über die Konsole oder über PMA), ich bekomme immer den Fehler, dass es ein Problem im Syntax gibt.

Der Fehler
Code:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition text NULL, 
    conditiontype enum('OR','AND') NULL DEFAULT 'OR', 
    showo' at line 4

Die betreffende Passage
PHP:
CREATE TABLE bb1_acpmenuitemgroups(
itemgroupid smallint( 5 ) unsigned NULL AUTO_INCREMENT ,
title varchar( 255 ) NULL ,
condition text NULL ,
conditiontype enum( 'OR', 'AND' ) NULL DEFAULT 'OR',
showorder smallint( 5 ) unsigned NULL DEFAULT '0',
acpmode tinyint( 3 ) unsigned NULL DEFAULT '0',
PRIMARY KEY ( itemgroupid ) 
);

Ich bin dankbar für jede Hilfe.

Gruß
Dizzy

Beide Male war MySQL5 am Start.

Edit: Erledigt so gehts:
PHP:
CREATE TABLE `bb1_acpmenuitemgroups`(
`itemgroupid` smallint( 5 ) unsigned NOT NULL AUTO_INCREMENT ,
`title` varchar( 255 ) NULL ,
`condition` text NULL ,
`conditiontype` enum( 'OR', 'AND' ) NULL DEFAULT 'OR',
`showorder` smallint( 5 ) unsigned NULL DEFAULT '0',
`acpmode` tinyint( 3 ) unsigned NULL DEFAULT '0',
PRIMARY KEY ( itemgroupid )
)
PHP:
 
Zuletzt bearbeitet:

Ähnliche Themen

Zugriff Ubuntu 16.04. auf Freigabe 18.04. LTS nicht möglich

Akonadi startet nicht mehr

Samba 4 Gast Zugang unter Ubuntu funktioniert nicht

dovecot und postfix Konfiguration Problem

JBidWatcher: Problem bei loading Auctions in Verbindung mit mySQL

Zurück
Oben