Do a regular data dump with mysqldump or using a tool like MySQL Workbench and then run the command bellow to remove the primary key:
sed -i '' "s/([0-9]*,/(NULL,/gi" dump.sql Useful when trying to appends data from an SQL export file of a table with the same structure.