当我重新安装wamp(2.5)时,我在phpmyadmin中访问我的表(innodb)然后错误消息“#1146 - 表'abc'不存在。”。
日志:
2015-03-05 12:34:14 3988 [Note] Plugin 'FEDERATED' is disabled.
2015-03-05 12:34:14 3988 [Note] InnoDB: Using atomics to ref count buffer pool pages
2015-03-05 12:34:14 3988 [Note] InnoDB: The InnoDB memory heap is disabled
2015-03-05 12:34:14 3988 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2015-03-05 12:34:14 3988 [Note] InnoDB: Compressed tables use zlib 1.2.3
2015-03-05 12:34:14 3988 [Note] InnoDB: Not using CPU crc32 instructions
2015-03-05 12:34:14 3988 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2015-03-05 12:34:14 3988 [Note] InnoDB: Completed initialization of buffer pool
2015-03-05 12:34:14 3988 [Note] InnoDB: Highest supported file format is Barracuda.
2015-03-05 12:34:15 3988 [Note] InnoDB: 128 rollback segment(s) are active.
2015-03-05 12:34:15 3988 [Note] InnoDB: Waiting for purge to start
2015-03-05 12:34:15 3988 [Note] InnoDB: 5.6.17 started; log sequence number 1625987
2015-03-05 12:34:15 3988 [Note] Server hostname (bind-address): '*'; port: 3306
2015-03-05 12:34:16 3988 [Note] IPv6 is available.
2015-03-05 12:34:16 3988 [Note] - '::' resolves to '::';
2015-03-05 12:34:16 3988 [Note] Server socket created on IP: '::'.
2015-03-05 12:34:17 3988 [Note] Event Scheduler: Loaded 0 events
2015-03-05 12:34:17 3988 [Note] wampmysqld: ready for connections.
Version: '5.6.17' socket: '' port: 3306 MySQL Community Server (GPL)
2015-03-05 12:34:35 3988 [Warning] InnoDB: Cannot open table ch6/ch6_users from the internal data dictionary of InnoDB though the .frm file for the table exists. See http://dev.mysql.com/doc/refman/5.6/en/innodb-troubleshooting.html for how you can resolve the problem.
答案 0 :(得分:4)
MYODAM数据库中的\data\ch6\???.frm
文件中不存在INNODB数据库。那些.frm
文件包含一些基本的方案信息,表定义等,但没有数据。
数据,即表格存在于\data\ibdata1
文件中,除非您对默认值进行了更改。
为了将来的参考,WAMPServer论坛上有一个方便的文档,它带您通过re-install or upgrade WAMPServer
的简单方法如果您有原始安装的备份,那么可能就是这样。
不幸的是,WAMPServer的重新安装可能已经覆盖了ibdata1
文件,更重要的是\data\mysql
文件夹,这是MySQL对所有数据库,表和用户等的了解等。所以你基本上使用的是一个对你认为已设置的数据库一无所知的香草MySQL。