XAMPP启动mysql遇到的问题

错误信息如下:
Version: ‘10.1.33-MariaDB’ socket: ‘’ port: 3389 mariadb.org binary distribution
2019-06-12 18:00:56 4a04 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.
2019-06-12 18:00:56 18948 [Note] InnoDB: innodb_empty_free_list_algorithm has been changed to legacy because of small buffer pool size. In order to use backoff,increase buffer pool at least up to 20MB.

2019-06-12 18:00:56 18948 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2019-06-12 18:00:56 18948 [Note] InnoDB: The InnoDB memory heap is disabled
2019-06-12 18:00:56 18948 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2019-06-12 18:00:56 18948 [Note] InnoDB: _mm_lfence() and _mm_sfence() are used for memory barrier
2019-06-12 18:00:56 18948 [Note] InnoDB: Compressed tables use zlib 1.2.3
2019-06-12 18:00:56 18948 [Note] InnoDB: Using generic crc32 instructions
2019-06-12 18:00:56 18948 [Note] InnoDB: Initializing buffer pool,size = 16.0M
2019-06-12 18:00:56 18948 [Note] InnoDB: Completed initialization of buffer pool
2019-06-12 18:00:56 18948 [ERROR] InnoDB: \Program Files (x86)\xampp\MysqL\data\ibdata1 can’t be opened in read-write mode
2019-06-12 18:00:56 18948 [ERROR] InnoDB: The system tablespace must be writable!
2019-06-12 18:00:56 18948 [ERROR] Plugin ‘InnoDB’ init function returned error.
2019-06-12 18:00:56 18948 [ERROR] Plugin ‘InnoDB’ registration as a STORAGE ENGINE Failed.
2019-06-12 18:00:56 18948 [Note] Plugin ‘FeedBACK’ is disabled.
2019-06-12 18:00:56 18948 [ERROR] UnkNown/unsupported storage engine: InnoDB
2019-06-12 18:00:56 18948 [ERROR] Aborting

 

解决方案:

(1)打开任务管理器终止MysqLd进程;

(2)打开MysqL安装目录的data文件夹,删除以下2个文件
ib_logfile0和ib_logfile1

(3)重新启动MysqL

参考解决办法:
XAMPP启动mysql遇到的问题

相关文章

统一支付是JSAPI/NATIVE/APP各种支付场景下生成支付订单,返...
统一支付是JSAPI/NATIVE/APP各种支付场景下生成支付订单,返...
前言 之前做了微信登录,所以总结一下微信授权登录并获取用户...
FastAdmin是我第一个接触的后台管理系统框架。FastAdmin是一...
之前公司需要一个内部的通讯软件,就叫我做一个。通讯软件嘛...
统一支付是JSAPI/NATIVE/APP各种支付场景下生成支付订单,返...