0

操作系统:Windows Server 2008 R2 MYSQL:MY SQL Server 5.6

错误 :

2015-04-02 14:31:52 2956 [ERROR] InnoDB: .\ibdata1 can't be opened in read-write mode
2015-04-02 14:31:52 2956 [ERROR] InnoDB: The system tablespace must be writable!
2015-04-02 14:31:52 2956 [ERROR] Plugin 'InnoDB' init function returned error.
2015-04-02 14:31:52 2956 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2015-04-02 14:31:52 2956 [ERROR] Unknown/unsupported storage engine: InnoDB
2015-04-02 14:31:52 2956 [ERROR] Aborting

尝试的步骤:

 1. Deleted ib_logfile0 and ib_logfile1 and checked.
 2. Edited my-default.ini
basedir="C:\mysql-5.6.11-win32\"
datadir="C:\mysql-5.6.11-win32\data\"
port=3306
server-id=1
bind-address=127.0.0.1

**Current files/folders in Mysql/data**:

WIN-BVVOL64R2ST.pid

WIN-BVVOL64R2ST.err

ibdata1

auto.CNF

performance_schema and

mysql

需要帮助来解决这个问题,非常重要。如果MySQL 服务未运行,请告诉我如何进行备份。

提前致谢。

4

1 回答 1

0

.\ibdata1 无法以读写模式打开

意味着权限问题,无论是在该文件上,还是在它所在的目录上。

更改basedir将失去对 的跟踪ibdata1,因此应谨慎使用。

于 2015-04-03T04:32:51.423 回答