当我重新安装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.发布于 2015-03-05 17:28:46
INNODB数据库不像MYISAM数据库那样存在于\data\ch6\???.frm文件中。这些.frm文件包含一些基本的方案信息、表定义等,但没有数据。
数据即表存在于\data\ibdata1文件中,除非您更改了默认值。
作为将来的参考,WAMPServer论坛上有一个很方便的文档,它将带您通过一种简单的方法来访问re-install or upgrade WAMPServer
如果您有原始安装的备份,则可能需要这样做。
不幸的是,WAMPServer的重装可能覆盖了ibdata1文件,更重要的是\data\mysql文件夹,这是MySQL对所有数据库、表和用户等的了解。所以你基本上是在使用一个普通的MySQL,它对你认为你已经设置的数据库一无所知。
https://stackoverflow.com/questions/28871459
复制相似问题