InnoDB: File .\ib_logfile0: 'aio read' returned OS error 187. Cannot continue operation For more information, see Help and Support Center at http://www.mysql.com.
https://blog.csdn.net/qq_42952310/article/details/102986498
my.iml 中 update/add :
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
windows系统安装mysql, InnoDB: File .\ib_logfile0: ‘aio read‘ returned OS error 187. Cannot continue oper
InnoDB: File .\ib_logfile0: 'aio read' returned OS error 187. Cannot continue operation For more information, see Help and Support Center at http://www.mysql.com. https://blog.csdn.net/qq_42952310/article/details/102986498my.iml 中 update/add :in...
innodb
_data_
file
_path用来指定
innodb
tablespace文件,如果我们不在My.cnf文件中指定
innodb
_data_home_dir和
innodb
_data_
file
_path那么默认会在datadir目录下创建
ib
data1 作为
innodb
tablespace。
在测试环境下没有设置过多的详细参数就初始化并启动了服务,后期优化的过程中发现
innodb
_data_
file
_path设置过小:
root@node1 14:59: [(none)]> show variables like '%
innodb
_data_
file
_path%';
问题:在使用命令net start
mysql
启动
mysql
服务时启动失败,提示错误1067,查看err文件发现 **[
error
]**信息显示:
InnoDB
:
File
.\
ib
_
logfile
101: ‘
aio
write’
return
ed
OS
error
187
.
解决:在
mysql
的
安装
目录下的my.ini文件中直接添加下面代码:
innodb
_buffer_pool_size = 256M
innodb
_log_
file
_size = 256M
innodb
_th
read
_con..
InnoDB
是通用存储引擎,可兼顾高可靠性和高性能。在
MySQL
5.7 中,
InnoDB
是默认的
MySQL
存储引擎。除非您配置了其他默认存储引擎,否则发出不带ENGINE=子句的CREATE TABLE语句将创建
InnoDB
table。
查询
MySQL
支持的存储引擎
通过
MySQL
的客户端查询所支持的存储引擎,以及当前正在使用的引擎,如下图所示。
MySQL
各存储引擎的区别请查阅在线官方文档库
mysql
> SHOW ENGINES;
+--------------------+--------