giovedì 19 aprile 2007

Mysql Foreign key error 150

Foregin keys have to be indexed in both tables, as explained in the
manual
http://dev.*mysql*.com/doc/*mysql*/en/innodb-*foreign*-*key*-constraints.html
<http://dev.mysql.com/doc/mysql/en/innodb-foreign-key-constraints.html>

You need an index on owner.owner before you can create the *foreign
**key*
constraint.

Nessun commento: