wbb backup sql

Winterle
hallo, ich will die ganze zeit in php my admin sql hoch laden abe rjedes mal kommt fehler

Zitat:
QL-Befehl:

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

MySQL meldet: Dokumentation
#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 NOT NULL,
conditiontype enum('OR','AND') NOT NULL DEFAULT 'OR'' at line 4



wieso ?
Maniac_81
weil du anscheinend falsche versionen verwendest, oder die version mit der das backup erstellt wurde nicht identisch/kompatibel zu der aktuell verwendeten ist.
Winterle
wie? und was mach ich da nun hab das back up und wollte es in php my admin hochladen auf nen neuen server
wii
lol ey

warum benutzt ihr nicht einfach mysqldumper!!
is sau geil zu bedienen
DominikZ
Versuch mal folgendes:

Zitat:
CREATE TABLE bb1_acpmenuitemgroups (
itemgroupid smallint(5) unsigned NOT NULL auto_increment,
title varchar(255) NOT NULL default '',
`condition` text NOT NULL default '',
conditiontype enum('OR','AND') NOT NULL default 'OR',
showorder smallint(5) unsigned NOT NULL default '0',
acpmode tinyint(3) unsigned NOT NULL default '0',
PRIMARY KEY (itemgroupid)
) TYPE=MyISAM;
Winterle
Fehler

SQL-Befehl:

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

MySQL meldet: Dokumentation
#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 NOT NULL,
conditiontype enum('OR','AND') NOT NULL DEFAULT 'OR',' at line 4

hab in phpmyadmin die normale backup sql.gz versucht zu impotieren
DominikZ
Du hast nicht meinen Befehl genommen.
Winterle
doch hab ich vorher
DominikZ
Meiner ist aber nicht identisch mit dem in der Fehlermeldung.
Winterle
nein ich habe dien befehl zuerst eingefügt dann war ja die neue tabelle drinne dann hab ich versucht das normale backup hochzuladen