When importing a dump from a production site with mysql in a xampp environment I got this error:
ERROR 1062 (23000): Duplicate entry '/-de' for key 'PRIMARY'
These lines are affected:
ALTER TABLE `redirect_404` ADD PRIMARY KEY (`path`,`langcode`);
Strangely when importing the sql file into another database on the production server, it doesn't show any error.