MySQL Foreign Key error 1452 in HeidiSQL -


i have created tables , want set foreign key, seems not work. have table reservations: table reservations

and have table server_info: table server_info

when want set foreign key from reservations table srv_info table, got error sql error 1452: error 1452

when set fk from srv_info table reservations table, strangely works: working fk

can please help?


Comments

Popular posts from this blog

ios - Change Storyboard View using Seague -

inversion of control - Autofac named registration constructor injection -

verilog - Systemverilog dynamic casting issues -