XAMPP啟動mysql遇到的問題

來源:互聯網
上載者:User

標籤:

Version: ‘10.1.9-MariaDB‘ socket: ‘‘ port: 3306 mariadb.org binary distribution
2016-07-18 10:42:04 1578 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB‘s internal memory allocator.
2016-07-18 10:42:04 5496 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2016-07-18 10:42:04 5496 [Note] InnoDB: The InnoDB memory heap is disabled
2016-07-18 10:42:04 5496 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2016-07-18 10:42:04 5496 [Note] InnoDB: Memory barrier is not used
2016-07-18 10:42:04 5496 [Note] InnoDB: Compressed tables use zlib 1.2.3
2016-07-18 10:42:04 5496 [Note] InnoDB: Not using CPU crc32 instructions
2016-07-18 10:42:04 5496 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2016-07-18 10:42:04 5496 [Note] InnoDB: Completed initialization of buffer pool
2016-07-18 10:42:04 5496 [ERROR] InnoDB: E:\xampp\mysql\data\ibdata1 can‘t be opened in read-write mode
2016-07-18 10:42:04 5496 [ERROR] InnoDB: The system tablespace must be writable!
2016-07-18 10:42:04 5496 [ERROR] Plugin ‘InnoDB‘ init function returned error.
2016-07-18 10:42:04 5496 [ERROR] Plugin ‘InnoDB‘ registration as a STORAGE ENGINE failed.
2016-07-18 10:42:04 5496 [Note] Plugin ‘FEEDBACK‘ is disabled.
2016-07-18 10:42:04 5496 [ERROR] Unknown/unsupported storage engine: InnoDB
2016-07-18 10:42:04 5496 [ERROR] Aborting

 

從日誌中可以發現紅字部分,告訴我們無法讀和寫ibdatal檔案。。。要是檔案無法讀寫的話,那就應該是你管理者的許可權問題啦,解決方案呢是找到xampp的安裝目錄把此檔案夾下的內容都設定為管理者擁有最高的許可權。

 

解決方案:

1、開啟工作管理員終止mysqld進程;

2、開啟mysql安裝目錄的data檔案夾刪除以下2個檔案:

 

ib_logfile0和ib_logfile1

3、重新啟動mysql

 

XAMPP啟動mysql遇到的問題

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.