Hallo,
ich will ein script testen und habe dafür eine datei db.sql "in eine DB" zu laden. Wie stelle ich dass den an?
Das ist erledigt. Hab die Datei geladen, und dann kommt:
SQL-Befehl :
CREATE TABLE `login_pages` (
`id` int( 5 ) unsigned NOT NULL AUTO_INCREMENT ,
`head` varchar( 250 ) collate latin1_general_ci NOT NULL default '',
`text` longtextcollate latin1_general_ci NOT NULL ,
`order` int( 5 ) NOT NULL default '0',
`status` int( 1 ) NOT NULL ,
`pub` int( 1 ) NOT NULL ,
PRIMARY KEY ( `id` )
)ENGINE = MYISAM DEFAULT CHARSET = latin1 COLLATE = latin1_general_ci PACK_KEYS = 0 AUTO_INCREMENT = 1
MySQL meldet:
#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 'collate latin1_general_ci NOT NULL default '',
`text` longte
[Dokumentation] · [Zurück]
EDIT:
Bitte ab posting #4 weiterschreiben, das andere war zum vorigen thema..
ich will ein script testen und habe dafür eine datei db.sql "in eine DB" zu laden. Wie stelle ich dass den an?
2. Schritt:
Laden Sie die db.sql in Ihre MySQL Datenbank!
Das ist erledigt. Hab die Datei geladen, und dann kommt:
SQL-Befehl :
CREATE TABLE `login_pages` (
`id` int( 5 ) unsigned NOT NULL AUTO_INCREMENT ,
`head` varchar( 250 ) collate latin1_general_ci NOT NULL default '',
`text` longtextcollate latin1_general_ci NOT NULL ,
`order` int( 5 ) NOT NULL default '0',
`status` int( 1 ) NOT NULL ,
`pub` int( 1 ) NOT NULL ,
PRIMARY KEY ( `id` )
)ENGINE = MYISAM DEFAULT CHARSET = latin1 COLLATE = latin1_general_ci PACK_KEYS = 0 AUTO_INCREMENT = 1
MySQL meldet:
#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 'collate latin1_general_ci NOT NULL default '',
`text` longte
[Dokumentation] · [Zurück]
EDIT:
Bitte ab posting #4 weiterschreiben, das andere war zum vorigen thema..
Zuletzt bearbeitet: