2014-01-25 51 views
2

我的MySQL服務器昨天做工精細,但隨後突然今天上午我已經收到此錯誤:當我嘗試mysqldMySQL錯誤,我已經試過了所有我能

[Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details). 
[Warning] Can't create test file /usr/local/mysql-5.6.15-osx10.6-x86/data/Xero.lower-test 
[Warning] Can't create test file /usr/local/mysql-5.6.15-osx10.6-x86/data/Xero.lower-test 
[Note] Plugin 'FEDERATED' is disabled. 
mysqld: Can't find file: './mysql/plugin.frm' (errno: 13 - Permission denied) 
[ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it. 
[Note] InnoDB: The InnoDB memory heap is disabled 
[Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 
[Note] InnoDB: Compressed tables use zlib 1.2.3 
[Note] InnoDB: Not using CPU crc32 instructions 
[Note] InnoDB: Initializing buffer pool, size = 128.0M 
[Note] InnoDB: Completed initialization of buffer pool 
[ERROR] InnoDB: ./ibdata1 can't be opened in read-write mode 
[ERROR] InnoDB: The system tablespace must be writable! 
[ERROR] Plugin 'InnoDB' init function returned error. 
[ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 
[ERROR] Unknown/unsupported storage engine: InnoDB 
[ERROR] Aborting 

我已經試過:

重新安裝

can't start MySql in Mac OS 10.6 Snow Leopard


(因爲我注意到[ERROR] Unknown/unsupported storage engine: InnoDB

http://www.debian-tutorials.com/how-to-fix-error-unknownunsupported-storage-engine-innodb

+0

請發表評論,爲什麼你會downvote我的文章。 – user3186208

+1

請發表評論,爲什麼你會發布這個問題堆棧溢出,而不是服務器故障。 –

+0

那麼爲什麼我會在帶有upvotes的stackoverflow中看到MySQL錯誤的其他帖子? – user3186208

回答

1
[ERROR] InnoDB: ./ibdata1 can't be opened in read-write mode 
[ERROR] InnoDB: The system tablespace must be writable! 

這聽起來像這個文件(等等)是不是由mysqld正在運行,並且用戶可寫。檢查您的文件權限。

該文件也可能已被刪除。

-1

如果您嘗試使用.bat文件運行它,只需右鍵單擊該文件,然後選擇「以管理員身份運行」。 我有同樣的問題,併爲我的固定ID。

+0

它不是Windows的OSX – boj

相關問題