mysql errno 150 mysql error Number 1005can't creat table'/test/#sql-640_1.frm'(errno:150)三种可能问题 外键和被引用外键类型不一样,比如integer和double 找不到要被引用的列 表的字符编码不一样