I inherited a forum, that I plan now to move from a very old home-written php version to phpBB. I would like to keep the forum structure, posts and users, so keeping a few tables should be enough. But bringing the content from the old tables to the new structure of the phpBB tables is a bit challenging.
At first I tried with phpMyAdmin, making a copy of my old users table, rearranging the columns so that they all match the new phpBB3_users table structure, manually re-created each additional column that my old table didn't have, and exported it. Then I attempted to import it into the phpBB table. But after around 10 hours or trial an error, I can't get around the following error: #1062 - Duplicate entry '3' for key 'PRIMARY'
My PRIMARY is user_id, and I checked several dozen times, and there are not duplicate entries.
I uploaded the tables to my Google Drive, in case that helps:
- Old manually corrected table
What am I doing wrong? Should I not try to import the table into the new table, but run a different query?
As you can tell, I know close to nothing about SQL, so any help is appreciated.