Hey Drupal guys and gals :D
I'm working on migrating a large amount of content to the new Drupal-powered version of my site neverside.com. I have about 21,000 users, 95,000 forum threads (nodes)... and 711,000 replies (comments). I imported users using User Import, and the nodes manually with SQL. So far I've successfully imported the users and nodes, as well as set correct taxonomy terms for the nodes to appear in the correct forum categories. I'm a bit stuck on getting the comments imported correctly though.
I have this query written to add my old system's posts to Drupal's comments table (I have a temp table that contains all the relevant data I have available for importing into Drupal... the comments/replies of my old system are sorted by timestamp, no threading at all):
INSERT INTO comments (cid, pid, nid, uid, subject, comment, hostname, timestamp, score, status, format, thread, users, name, mail, homepage)
SELECT
p_thread_id,
'0',
p_user_id,
p_title,
p_post,
'',
p_time,
'',
'0',
'1',
'',
'a:1:{i:0;i:0;}',
'',
''
FROM neverside_replies;