Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Msyql startup error cannot find pid file

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Start the mysql database after installing mysql

Error

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]

View error log

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

It's judged to be a memory problem.

Modify the memory size of buffer pool

Innodb_buffer_pool_size=8M

Restart the database, you can start normally

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report