XAMPP启动mysql遇到的问题

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

 

转载于:https://www.cnblogs.com/mogujiang/p/5680441.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值