Tried that on my local installation and got this:

Error

SQL query:

ALTER TABLE `products_to_categories` ADD PRIMARY KEY ( `products_id` , `categories_id` ) ;

MySQL said: Documentation
#1068 - Multiple primary key defined

no idea wha tto do now.