我已經運行mysql -u root -p gf <〜/ gf_backup.sql來恢復我的db。但是,當我看到進程列表時,我發現一個查詢已經空閒了很長時間。我不知道原因。mysql轉儲查詢掛起
mysql> show processlist;
+-----+------+-----------+-------------+---------+-------+-----------+------------------------------------------------------------------------------------------------------+
| Id | User | Host | db | Command | Time | State | Info |
+-----+------+-----------+-------------+---------+-------+-----------+------------------------------------------------------------------------------------------------------+
| 662 | root | localhost | gf | Query | 18925 | query end | INSERT INTO `gf_1` VALUES (1767654,'90026','Lddd',3343,34349),(1 |
| 672 | root | localhost | gf | Query | 0 | NULL | show processlist |
+-----+------+-----------+-------------+---------+-------+-----------+------------------------------------------------------------------------------------------------------+
您可以發佈與該表說明和任何關係/約束你的數據庫模式?不知道你的表是什麼,幾乎不可能確定可能出錯的東西。 – nageeb