Hallo!
Da ich den Server von meinem Blog ändern will, muss ich zwangsweise ja auch die Datenbank neu importieren.
Aber da der alte Server PHP5 hatte, und der neue PHP4, klappt es nicht ganz. Das ist die Fehlermeldung:
Code
[B]SQL-Befehl:[/B]
CREATE TABLE IF NOT EXISTS `wp_categories` ( `cat_ID` bigint( 20 ) NOT NULL AUTO_INCREMENT ,
`cat_name` varchar( 55 ) COLLATE latin1_general_ci NOT NULL default '',
`category_nicename` varchar( 200 ) COLLATE latin1_general_ci NOT NULL default '',
`category_description` longtext COLLATE latin1_general_ci NOT NULL ,
`category_parent` bigint( 20 ) NOT NULL default '0',
`category_count` bigint( 20 ) NOT NULL default '0',
PRIMARY KEY ( `cat_ID` ) ,
KEY `category_nicename` ( `category_nicename` )
) ENGINE = MYISAM AUTO_INCREMENT =17DEFAULT CHARSET = latin1 COLLATE = latin1_general_ci AUTO_INCREMENT =17;
[B]MySQL meldet:[/B]
#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 '',
`category_nice
Alles anzeigen
Wenn ich die Datenbank auf einem PHP5 Server importieren will, klappt aber alles ohne Probleme.
Ich hatte die Lösung schon einmal, habs aber aus Versehen weggeklickt und dann nicht wiedergefunden:neutral: