MySQL Error 1064 when adding foreign key with MySQL Workbench

前端 未结 7 1713
野性不改
野性不改 2021-01-04 10:48

So I have an error, when I want to add a foreign key. I added the foreign key in MySQL Workbench with an EER Diagram Model. The lines workbench tries to add are:`

         


        
7条回答
  •  攒了一身酷
    2021-01-04 11:20

    i was using mysql version 5.5.62 .

    commenting of the line INDEX 'fk_CUSTOMER_BARBER_idx' ('BARBER_ID' ASC) VISIBLE, did worked for me.

提交回复
热议问题