I am trying to create a table in MySQL with two foreign keys, which reference the primary keys in 2 other tables, but I am getting an errno: 150 error and it will not create
Please make sure at first that
I had the same trouble and I've fixed it. I had unsigned INT for one field and just integer for other field.