Mingle BBPress import
-
Hi,
We had a custom forum created through a .NET application. Its a legacy application built in 2006.
Now client is migrating to wordpress / bbpress. For forum migration I have created a application to import data from .NET application (Sql Server database) in a format where I can use mingle importer to import.The tables we have created are wp_forum_forums, wp_forum_threads; wp_forum_posts;
Table definition are
CREATE TABLEwp_forum_forums(
idbigint(20) NOT NULL AUTO_INCREMENT,
namevarchar(4000) NOT NULL,
parent_idbigint(20) NOT NULL,
descriptiontext,
sortint(11) DEFAULT NULL,
PRIMARY KEY (id)
) ENGINE=InnoDB AUTO_INCREMENT=32 DEFAULT CHARSET=latin1;CREATE TABLE
wp_forum_posts(
idbigint(20) NOT NULL AUTO_INCREMENT,
parent_idbigint(20) NOT NULL,
subjectvarchar(2000) DEFAULT NULL,
author_idbigint(20) unsigned NOT NULL,
textmediumtext,
datedatetime NOT NULL,
PRIMARY KEY (id),
KEYfk_wp_forum_posts_wp_forum_threads_idx(parent_id),
KEYfk_wp_forum_posts_wp_user(author_id),
CONSTRAINTfk_wp_forum_posts_wp_forum_threadsFOREIGN KEY (parent_id) REFERENCESwp_forum_threads(id),
CONSTRAINTfk_wp_forum_posts_wp_userFOREIGN KEY (author_id) REFERENCESwp_users(ID) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB AUTO_INCREMENT=69731 DEFAULT CHARSET=latin1;CREATE TABLE
wp_forum_threads(
idbigint(20) NOT NULL AUTO_INCREMENT,
parent_idbigint(20) NOT NULL,
starterbigint(20) unsigned NOT NULL,
subjectvarchar(4000) DEFAULT NULL,
statusvarchar(100) NOT NULL,
datedatetime NOT NULL,
last_postdatetime NOT NULL,
closedvarchar(50) NOT NULL,
PRIMARY KEY (id),
KEYfk_wp_forum_threads_wp_forum_forums_idx(parent_id),
KEYfk_wp_forum_threads_wp_users_idx(starter),
CONSTRAINTfk_wp_forum_threads_wp_forum_forumsFOREIGN KEY (parent_id) REFERENCESwp_forum_forums(id),
CONSTRAINTfk_wp_forum_threads_wp_userFOREIGN KEY (starter) REFERENCESwp_users(ID) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB AUTO_INCREMENT=9303 DEFAULT CHARSET=latin1;Through our custom code we populated these tables.
Everything works fine, but while importing the wp_forum_posts (which has got 69K records) the importer hangs between 35600 to 35699. I tried atleast 5 / 6 times but same result every time.
Can you kindly help us in this?
Thanks and Regards
Bidhan
- The topic ‘Mingle BBPress import’ is closed to new replies.