我已經拿到了數據庫的出口,但是當過我進口,我感到我相信這是因爲在數據庫導入數據庫的phpmyadmin
SQL query:
--
-- Constraints for dumped tables
--
--
-- Constraints for table `instance`
--
ALTER TABLE `instance` ADD CONSTRAINT `instance_ibfk_2` FOREIGN KEY ( `user_id`) REFERENCES `user` ( `id`) ,
ADD CONSTRAINT `instance_ibfk_1` FOREIGN KEY ( `cat_id`) REFERENCES `category` ( `cat_id`) ;
MySQL said:
#1005 - Can't create table 'dalejc.#sql-152c_243' (errno: 150)
而那個錯誤將會是... – ceejayoz 2011-05-02 16:20:01
上面編輯... – James 2011-05-02 16:21:12
看看errno 150是什麼。 – 2011-05-02 16:31:45