操作系统: 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服务未运行,请告诉我如何备份。
提前致谢。
答案 0 :(得分:0)
。\ ibdata1无法以读写模式打开
意味着该文件或其所在目录上的权限问题。
更改basedir
将失去对ibdata1
的跟踪,因此应谨慎使用。