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