我正在尝试在MySQL版本5.6.19-0ubuntu0.14.04.1-log中创建一个临时表。我收到一个错误:
joe@bigdb [staging]> CREATE TEMPORARY TABLE test (
-> field_one int
-> );
ERROR 1030 (HY000): Got error -1 from storage engine
我已经查过,大多数答案都与禁用innodb_force_recovery有关,所以我调查了一下:
joe@bigdb [staging]> show variables like 'i%recovery%';
+-----------------------+-------+
| Variable_name | Value |
+-----------------------+-------+
| innodb_force_recovery | 0 |
+-----------------------+-------+
1 row in set (0.00 sec)
似乎没关系。
任何想法的人?