i always use InnoDb engine, so from time to time creates sqls shows the fatal "errno: 150" wich does not help too much.
reading comments on mysql official site:
http://dev.mysql.com/doc/refman/5.0/en/innodb-foreign-key-constraints.html
you will see that "SHOW INNODB STATUS" shows too much information, between them it also show information about the last InnoDb Error, wich is really shows more information about the error. this really helps.
on the other hand, you already have this link inside phpmyadmin. so why don't put some link to "SHOW INNODB STATUS" just after the error message IF the error is number 150?
this way will helps users to realice what the hell is going on with the refused innodb sql right away.
thanks.
Implemented in SVN, thanks for suggestion.