簡體   English   中英

無法在Linux上啟動mysql

[英]Can not start mysql on linux

當我試圖重啟MySQL我重新啟動Linux服務器后,我遇到麻煩了,我無法啟動mysql它響應Job failed to start

這是錯誤日志

170225  0:46:41 [Warning] Using unique option prefix myisam-recover instead    of myisam-recover-options is deprecated and will be removed in a  future release. Please use the full name instead.
170225  0:46:41 [Note] Plugin 'FEDERATED' is disabled.
170225  0:46:41 InnoDB: The InnoDB memory heap is disabled
170225  0:46:41 InnoDB: Mutexes and rw_locks use GCC atomic builtins
170225  0:46:41 InnoDB: Compressed tables use zlib 1.2.8
170225  0:46:41 InnoDB: Using Linux native AIO
170225  0:46:41 InnoDB: Initializing buffer pool, size = 128.0M
InnoDB: mmap(137363456 bytes) failed; errno 12
170225  0:46:41 InnoDB: Completed initialization of buffer pool
170225  0:46:41 InnoDB: Fatal error: cannot allocate memory for the buffer pool
170225  0:46:41 [ERROR] Plugin 'InnoDB' init function returned error.
170225  0:46:41 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
170225  0:46:41 [ERROR] Unknown/unsupported storage engine: InnoDB
170225  0:46:41 [ERROR] Aborting
170225  0:46:41 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead.
170225  0:46:41 [Note] Plugin 'FEDERATED' is disabled.
170225  0:46:41 InnoDB: The InnoDB memory heap is disabled
170225  0:46:41 InnoDB: Mutexes and rw_locks use GCC atomic builtins
170225  0:46:41 InnoDB: Compressed tables use zlib 1.2.8
170225  0:46:41 InnoDB: Using Linux native AIO
170225  0:46:41 InnoDB: Initializing buffer pool, size = 128.0M
InnoDB: mmap(137363456 bytes) failed; errno 12
170225  0:46:41 InnoDB: Completed initialization of buffer pool
170225  0:46:41 InnoDB: Fatal error: cannot allocate memory for the buffer pool
170225  0:46:41 [ERROR] Plugin 'InnoDB' init function returned error.
170225  0:46:41 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
170225  0:46:41 [ERROR] Unknown/unsupported storage engine: InnoDB
170225  0:46:41 [ERROR] Aborting

謝謝你的幫助

也許在配置文件my.cnf上未注釋選項“ skip-innodb”。 如果是這種情況,請再次注釋該行。 如果不想使用INNODB,則必須修改表以使用另一種表格式,例如MyISAM pe。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM