温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

msyql 启动报错 找不到pid 文件

发布时间:2020-07-08 20:21:41 来源:网络 阅读:1333 作者:水滴石川1 栏目:MySQL数据库


安装完mysql 启动mysql 数据库 


报错 


Starting MySQL.The server quit without updating PID file (/app/mysql/mysql/data/mysqld.pid).[FAILED]Starting MySQL.The server quit without updating PID file (/app/mysql/mysql/data/mysqld.pid).[FAILED]


查看报错日志 


  

2017-07-11T02:23:04.368749Z 0 [ERROR] InnoDB: mmap(137428992 bytes) failed; errno 12

2017-07-11T02:23:04.368761Z 0 [ERROR] InnoDB: Cannot allocate memory for the buffer pool

2017-07-11T02:23:04.368767Z 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error

2017-07-11T02:23:04.368775Z 0 [ERROR] Plugin 'InnoDB' init function returned error.

2017-07-11T02:23:04.368779Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.

2017-07-11T02:23:04.368784Z 0 [ERROR] Failed to initialize plugins.

2017-07-11T02:23:04.368788Z 0 [ERROR] Aborting


判断是 内存问题 


修改 buffer pool 的内存大小

innodb_buffer_pool_size=8M


重启数据库,可以正常启动了

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI