Hi
I am a novice to MySQL but (having done plenty of MS Access Development in the past) and after reading a few chapters of a decent book and watching a few videos on MySQL, I've managed to make a decent start.
Ive installed MySQL v8.0.12 (thats what was specified in the book I bought) and Ive also installed Workbench.
Ive created a Schema and several tables and everything looks fine. Ive mostly been doing this in the EER Diagram and Ive added a few 1:n links and 2 or 3 n:m links. All but one of my n:m are working fine but I keep getting an error and I just cant figure out why. Can anyone please help ?
ERROR: Error 3734: Failed to add the foreign key constraint. Missing column 'event_id' for constraint 'fk_tblEvent_Band_Artist_tblEvents1' in the referenced table 'tblevents'
Al
I am a novice to MySQL but (having done plenty of MS Access Development in the past) and after reading a few chapters of a decent book and watching a few videos on MySQL, I've managed to make a decent start.
Ive installed MySQL v8.0.12 (thats what was specified in the book I bought) and Ive also installed Workbench.
Ive created a Schema and several tables and everything looks fine. Ive mostly been doing this in the EER Diagram and Ive added a few 1:n links and 2 or 3 n:m links. All but one of my n:m are working fine but I keep getting an error and I just cant figure out why. Can anyone please help ?
ERROR: Error 3734: Failed to add the foreign key constraint. Missing column 'event_id' for constraint 'fk_tblEvent_Band_Artist_tblEvents1' in the referenced table 'tblevents'
Al