I am writing a code on MySQL and it’s giving me errors. This is my code and it’s giving me the error – “Error Code: 1826. Duplicate foreign key constraint name ‘menu_ibfk_1’ ” When I give a different constraint name, it give me the error – “Error Code: 1822. Failed to add the foreign key constraint. Missing index for constraint