我最近从 Mavericks 升级到 Yosemite,我需要重新安装 mysql,我已经重新安装了它,brew install mysql
但在我这样做之前我备份了数据文件夹。(我通常这样做,因为它比导出和导入更快:) 并且它通常有效)。
问题是在重新安装之后,在我复制回数据文件夹之后,我拥有了所有的数据库、所有的表,但是我遇到了一个特殊的问题。
而这个问题是:
mysql> use eek
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> show tables;
+----------------------+
| Tables_in_eek |
+----------------------+
| e_commentmeta |
| e_comments |
| e_links |
| e_options |
| e_postmeta |
| e_posts |
| e_term_relationships |
| e_term_taxonomy |
| e_terms |
| e_usermeta |
| e_users |
+----------------------+
11 rows in set (0.00 sec)
mysql> SELECT * FROM `e_links`;
ERROR 1146 (42S02): Table 'eek.e_links' doesn't exist
我在搜索这个问题时没有得到任何结果,其中大多数是由其他原因引起的问题(比如用 . 命名表)
有任何想法吗?