启动mysql时出错

时间:2014-10-08 16:29:56

标签: mysql database xampp database-administration

使用xampp启动mysql时遇到错误。我不知道如何解决这个问题 错误:MySQL意外关闭。 这可能是由于端口被阻塞,缺少依赖性, 不正确的权限,崩溃或其他方法的关闭。 按“日志”按钮查看错误日志并进行检查 Windows事件查看器以获取更多线索 如果您需要更多帮助,请复制并发布 论坛上的整个日志窗口

日志文件说

 2014-10-08 11:40:53 5788 [Note] InnoDB: Using atomics to ref count buffer pool pages
 2014-10-08 11:40:53 5788 [Note] InnoDB: The InnoDB memory heap is disabled
 2014-10-08 11:40:53 5788 [Note] InnoDB: Mutexes and rw_locks interlocked    functions
 2014-10-08 11:40:53 5788 [Note] InnoDB: Compressed tables use zlib 1.2.3
 2014-10-08 11:40:53 5788 [Note] InnoDB: Not using CPU crc32 instructions
 2014-10-08 11:40:53 5788 [Note] InnoDB: Initializing buffer pool, size = 1.0G
 2014-10-08 11:40:53 5788 [Note] InnoDB: Completed initialization of buffer pool
 2014-10-08 11:40:53 5788 [Note] InnoDB: Highest supported file format is Barracuda.
 2014-10-08 11:40:53 5788 [Note] InnoDB: The log sequence numbers 115503975998 and       115503975998 in ibdata files do not match the log sequence number 189324800563 in the ib_logfiles!
 2014-10-08 11:40:53 5788 [Note] InnoDB: Database was not shutdown normally!
 2014-10-08 11:40:53 5788 [Note] InnoDB: Starting crash recovery.
 2014-10-08 11:40:53 5788 [Note] InnoDB: Reading tablespace information from the .ibd  files...

 2014-10-08 11:40:53 11e8  InnoDB: Operating system error number 5 in a file operation.
 InnoDB: The error means mysqld does not have the access rights to
 InnoDB: the directory. It may also be you have created a subdirectory
 InnoDB: of the same name as a data file.
 InnoDB: Error: could not open single-table tablespace file .\trillium_data\insulist_id_exist.ibd
 InnoDB: We do not continue the crash recovery, because the table may become
 InnoDB: corrupt if we cannot apply the log records in the InnoDB log to it.
 InnoDB: To fix the problem and start mysqld:
 InnoDB: 1) If there is a permission problem in the file and mysqld cannot
 InnoDB: open the file, you should modify the permissions.
 InnoDB: 2) If the table is not needed, or you can restore it from a backup,
 InnoDB: then you can remove the .ibd file, and InnoDB will do a normal
 InnoDB: crash recovery and ignore that table.
 InnoDB: 3) If the file system or the disk is broken, and you cannot remove
 InnoDB: the .ibd file, you can set innodb_force_recovery > 0 in my.cnf
 InnoDB: and force InnoDB to continue crash recovery here.

我应该采取什么步骤?

0 个答案:

没有答案