【发布时间】:2014-08-23 00:40:46
【问题描述】:
我最近从 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
我在搜索这个问题时没有得到任何结果,其中大多数是由其他原因引起的问题(例如以 . 的名称命名表)
有什么想法吗?
【问题讨论】:
标签: mysql sql file-permissions osx-yosemite