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
