if you’re gettin a “duplicate key” error when you try to load the dumed data back into the same table you dumped it from, then there are only two possibilities that i can think of –
you defined the key after you dumped the data
you’re loading the same data into the table without clearing out the table first
Couldn’t find anything that would suggest that TRUNCATE could be used, hence ‘equivalent’. . . I’ve looked at: http://dev.mysql.com/doc/refman/5.1/en/mysqldump.html, but couldn;t see anything that could do the same. . .unless I’ve missed it?