alSo,
ich habe nun den mysqldumper installiert.
ich habe bei meinem hoster eine ältere Wordpress Version. Ich vermute 2.0.2
Lokal habe ich 2.0.5.
Mein Hoster hat auf dem Server php 4 und mysql 4 (bin mir nicht ganz sicher)
Lokal habe ich php 5 und mysql 5.
Die Datenbank habe ich mit dem Wordpress Plugin erstellen lassen und auf den Desktop karren lassen.
Jetzt habe ich den Mysqldumper lokal installiert und die 4mb große Datei eingespielt.
Beim Einspeisen erhalte ich folgende Fehlermeldung:
INSERT INTO `wp_categories` VALUES (1, 'sonstiges', 'sonstiges', 'Alles was sonst nirgends passt.', 0, 591) ; INSERT INTO `wp_categories` VALUES (31, 'webmaster', 'webmaster', '', 0, 3) ; INSERT INTO `wp_categories` VALUES (5, 'technik', 'technik', '', 0, 101) ; INSERT INTO `wp_categories` VALUES (7, 'wissenschaft', 'studien', '', 0, 31) ; INSERT INTO `wp_categories` VALUES (9, 'tutorials', 'tutorials', '', 1, 35) ; INSERT INTO `wp_categories` VALUES (10, 'sport', 'sport', '', 0, 15) ; INSERT INTO `wp_categories` VALUES (28, 'software', 'software', '', 0, 12) ; INSERT INTO `wp_categories` VALUES (25, 'präsentieren', 'praesentieren', '', 32, 17) ; INSERT INTO `wp_categories` VALUES (27, 'innovation', 'innovation', '', 32, 4) ; INSERT INTO `wp_categories` VALUES (32, 'personal development', 'personal-development', '', 0, 5) ; INSERT INTO `wp_categories` VALUES (13, 'human resources', 'human-resources', '', 15, 21) ; INSERT INTO `wp_categories` VALUES (15, 'wirtschaft', 'wirtschaft', '', 0, 40) ; INSERT INTO `wp_categories` VALUES (19, 'selbstmanagement', 'selbstmanagement', '', 32, 31) ; INSERT INTO `wp_categories` VALUES (21, 'dienste', 'dienste', '', 0, 13) ; INSERT INTO `wp_categories` VALUES (24, 'blogging', 'blogging', '', 31, 18) ; INSERT INTO `wp_categories` VALUES (29, 'php', 'php', '', 31, 4) ; INSERT INTO `wp_categories` VALUES (33, 'politik', 'politik', '', 0, 0) ; # # End of data contents of table `wp_categories` # -------------------------------------------------------- # -------------------------------------------------------- # Table: `wp_comments` # -------------------------------------------------------- # # Delete any existing table `wp_comments` # DROP TABLE IF EXISTS `wp_comments`; # # Table structure of table `wp_comments` # CREATE TABLE `wp_comments` ( `comment_ID` bigint(20) unsigned NOT NULL auto_increment, `comment_post_ID` int(11) NOT NULL default '0', `comment_author` tinytext NOT NULL, `comment_author_email` varchar(100) NOT NULL default '', `comment_author_url` varchar(200) NOT NULL default '', `comment_author_IP` varchar(100) NOT NULL default '', `comment_date` datetime NOT NULL default '0000-00-00 00:00:00', `comment_date_gmt` datetime NOT NULL default '0000-00-00 00:00:00', `comment_content` text NOT NULL, `comment_karma` int(11) NOT NULL default '0', `comment_approved` enum('0','1','spam') NOT NULL default '1', `comment_agent` varchar(255) NOT NULL default '', `comment_type` varchar(20) NOT NULL default '', `comment_parent` bigint(20) NOT NULL default '0', `user_id` bigint(20) NOT NULL default '0', PRIMARY KEY (`comment_ID`), KEY `comment_approved` (`comment_approved`), KEY `comment_post_ID` (`comment_post_ID`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 ; # # Data contents of table `wp_comments` # INSERT INTO `wp_comments` VALUES (1, 1, 'Mr WordPress', '', 'http://wordpress.org/', '', '2006-04-01 20:42:11', '2006-04-01 18:42:11', 'Hallo, das hier ist ein Kommentar.
Um einen Kommentar zu bearbeiten, musst Du Dich anmelden und zur Übersicht der Beiträge gehen. Dort bekommst Du dann die Gelegenheit sie zu verändern, oder zu löschen.', 0, '1', '', '', 0, 0) ;
MySQL meldet:
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 '; INSERT INTO `wp_categories` VALUES (31, 'webmaster', 'webmaster', '', 0, 3) ' at line 1
--------------------------------------------------------------
Wie würdet ihr jetzt vorgehen, damit ich das noch hinbekomme?
Danke vorab.