OK. I'm only in on a Sunday to install new anit-virus software and now find I can not get the licence key untill tommorrow. Might as well do something usefull so it's not a complete bust.
- Create a copy of the original posts table and add the first 1000 rows from your posts table
http://dev.mysql.com/doc/mysql/en/CREATE_TABLE.html
CREATE TABLE dump1 SELECT * FROM posts LIMIT 1000
Will create a new table called dump1 with the first 1000 rows (1- 1000)from your posts table. It will have the same structure as the original table.
Test to see if it dumps OK, and what size it is. Increase or decrease the limit as neccessary. When satisfied
CREATE TABLE dump2 SELECT * FROM posts LIMIT 999,1001
will create table dump2 with 1001 rows starting at row 1000 and ending at row 2000 inclusive.
CREATE TABLE dump3 SELECT * FROM posts LIMIT 1999,1001
rows 2000-3000 inclusive
Repeat untill all rows are replicated into new tables and dumped successfully.
I have deliberately created an overlap of rows from one table to the next. The offset for start number begins at 0 and this can confuse, leading to lost rows. When you load your new table in your new database, table constraints enforce by your unique primary key will ensure that duplicate rows are dropped.