MySQL 初始化错误
2018-10-26 15:17
676 查看
mysql初始化错误【一】
MySQL 初始化DATA报错
[ERROR] InnoDB: io_setup() failed with EAGAIN after 5 attempts.
[ERROR] InnoDB: Cannot initialize AIO sub-system
[ERROR] InnoDB: Plugin initialization aborted with error Generic error
[ERROR] Plugin 'InnoDB' init function returned error.
[ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
[ERROR] Failed to initialize plugins.
解决方法:
$ cat /proc/sys/fs/aio-max-nr
65536 #64k个
$ vi /etc/sysctl.conf
fs.aio-max-nr=262144 #调整为256k个
$ sysctl -p
mysql初始化错误【二】
Can't find error-message file '/usr/local/mysql/errmsg.sys'
环境:RPM包安装的MySQL,自己能找到lib库
原因:一般是初始化的basedir 的路径指定错误了,basedir 一般指定数据库的bin,lib之类的文件
解决方法:初始化的去掉basedir
mysqld --initialize --user=mysql --datadir=/data
相关文章推荐
- 解决MySQL初始化时发生Could not find ./bin/my_print_defaults的错误
- mysql初始化,启动服务连接mysql的错误案例
- mysql 5.7初始化默认密码错误
- Linux下用源码安装 MySQL 初始化mysql数据库时提示字符编码错误的解决办法
- 解决MySQL初始化时发生Could not find ./bin/my_print_defaults的错误
- 阿里云安装mysql初始化的时候出现如下错误,以及解决方法
- mysql游标错误
- Linux上基于网页管理mysql安装过程中的错误点
- JDBC连接执行 MySQL 存储过程报权限错误:User does not have access to metadata required to determine stored procedur
- ubuntu下连接mysql时出现错误!
- Undefined class constant 'MYSQL_ATTR_INIT_COMMAND'错误解决方案
- mysql错误: Cannot convert value ’0000-00-00 00:00:00′ from column 10 to TIMESTAMP
- MySQL 5.1安装到最后一步start service错误解决方法
- MySQL学习笔记(一)Ubuntu16.04中MySQL安装配置(5.6优化、错误日志、DNS解决)
- Adobe flash cs5 的Java运行时环境初始化错误 完美解决方法
- mysql错误【一】[ERROR] Missing system table mysql.proxies_priv
- mysql_install_db无法初始化数据库
- MySQL 错误码: 1093 You can't specify target table 'jc_user' for update in FROM clause
- MySQL错误Incorrect file format解决方案
- MySql 卸载再重新安装后报 1130的错误解决方法