ERROR 1005 (HY000) errno 150 fix

http://stackoverflow.com/a/12028608
http://supportex.net/2012/02/mysql-error-1005-hy000-line-14-create-table-database-table-errno-150/