mac安装双系统win10后 安装mysql5.7.17服务一直启动不起来,然后日志说 InnoDB: File .\ib_logfile101: ‘aio write‘ returned

本文详细记录了解决MySQL在Windows环境下安装与启动时遇到的常见问题,包括配置my.ini文件、调整InnoDB参数、清除旧数据文件及使用正确初始化数据库的方法。

时隔半年,重装了系统的我又遇到了相同的问题,再补充一些需要注意的点

根据官方的提示:

Make a fresh installation of mysql when it hang "in service start..."
make this:
open with notepad++ the file my.ini file and to innodb section add this:
#*** INNODB Specific options ***
innodb_buffer_pool_size        = 256M
innodb_log_file_size           = 256M
innodb_thread_concurrency      = 16
innodb_flush_log_at_trx_commit = 2
innodb_flush_method            = normal

Save the file, after 
go a usually on windows
c:\ProgramData\MySQL\MySQL Server5.5\data and cancel this file:
DESKTOP-K1N1S7A.err
ib_logfile0
ib_logfile1
ibdata1

Now you can resume the installation ad yoy see the service start.
Note, If the installation not continue... no problem, close ed remake the installation.

就是说需要做一些配置

我们在 C:\Progra

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值