我最近重新设计了我的网站,并配备了一个新数据库,但我想从我的旧 wp 网站中获取所有帖子,以便在新网站中包含。只有三个。我将数据库中与所述帖子有关的所有行导入到我的新数据库中。只有两个帖子出现了。
当我尝试手动导入第三篇文章时,我得到了这个:
SQL query:
-- -- Database: `erisdesi_wp` -- -- -- Dumping data for table `wp_posts` -- INSERT INTO `wp_posts` (`ID`, `post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_excerpt`, `post_status`, `comment_status`, `ping_status`, `post_password`, `post_name`, `to_ping`, `pinged`, `post_modified`, `post_modified_gmt`, `post_content_filtered`, `post_parent`, `guid`, `menu_order`, `post_type`, `post_mime_type`, `comment_count`) VALUES (188, 1, '2010-08-26 04:42:37', '2010-08-26 04:42:37', 'Hold yr horses! We’re building it!\r\n
\r\n\r\n
', 'Design Blog', '', 'inherit', 'open', 'open', '', '110-revision-6', '', '', '2010-08-26 04:42:37', '2010-08-26 04:42:37', '', 110, 'http://www.erisdesigns.net/http:/www.erisdesigns.net/wordpress/', 0, 'revision', '', 0), (2, 1, '2010-07-17 18:28:39', '2010-07-17 18:28:39', 'Documentation #1062 - Duplicate entry
我对 MySQL 很陌生...任何帮助表示赞赏。在此先感谢您增加我的知识。