標籤:end zlib mysql錯誤 map 查看 processes blog logs erro
查看mysql錯誤提示
170329 08:26:23 mysqld_safe Number of processes running now: 0170329 08:26:23 mysqld_safe mysqld restarted170329 8:26:23 [Note] /usr/local/mysql/bin/mysqld (mysqld 5.5.48-log) starting as process 4353 ...170329 8:26:23 [Note] Plugin ‘FEDERATED‘ is disabled.170329 8:26:23 InnoDB: The InnoDB memory heap is disabled170329 8:26:23 InnoDB: Mutexes and rw_locks use GCC atomic builtins170329 8:26:23 InnoDB: Compressed tables use zlib 1.2.3170329 8:26:23 InnoDB: Initializing buffer pool, size = 4.0GInnoDB: mmap(4395630592 bytes) failed; errno 12170329 8:26:23 InnoDB: Completed initialization of buffer pool170329 8:26:23 InnoDB: Fatal error: cannot allocate memory for the buffer pool170329 8:26:23 [ERROR] Plugin ‘InnoDB‘ init function returned error.170329 8:26:23 [ERROR] Plugin ‘InnoDB‘ registration as a STORAGE ENGINE failed.170329 8:26:23 [ERROR] Unknown/unsupported storage engine: InnoDB170329 8:26:23 [ERROR] Aborting170329 8:26:23 [Note] /usr/local/mysql/bin/mysqld: Shutdown complete170329 08:26:23 mysqld_safe mysqld from pid file /usr/local/mysql/var/104-250-159-170.static.gorillaservers.com.pid ended
解決辦法:在my.cnf 把 innodb_buffer_pool_size 的值設定小點。
參考:
http://serverfault.com/questions/379714/unknown-unsupported-storage-engine-innodb-mysql-ubuntu
http://blog.csdn.net/psiitoy/article/details/40106735
mysql資料庫崩潰,無法啟動