参照整合性

1 件の記事

2010

InnoDBとMyISAMを混同させるときの注意点

MySQLのInnoDBで外部キー制約をMyISAMに対して行った場合、insertするとエラーになってなやまされました。 何回インサートしても外部キーが指定されてないてきなメッセージが・・・。 状況的にはこんな感じです。 classテーブル class_id <td> int autor increment </td…

Photo: Jaz. Mine / Unsplash LicensePhoto: Se. Tsuchiya / Unsplash LicensePhoto: Sergio / Unsplash LicensePhoto: Robert Bant / Unsplash LicensePhoto: Zhi Xuan Hew / Unsplash License