低配ecs安装Mysql5.6出现问题


2015-06-14 05:26:14 14272 [Note] Plugin 'FEDERATED' is disabled. 
2015-06-14 05:26:14 14272 [Note] InnoDB: Using atomics to ref count buffer pool pages 
2015-06-14 05:26:14 14272 [Note] InnoDB: The InnoDB memory heap is disabled 
2015-06-14 05:26:14 14272 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 
2015-06-14 05:26:14 14272 [Note] InnoDB: Memory barrier is not used 
2015-06-14 05:26:14 14272 [Note] InnoDB: Compressed tables use zlib 1.2.3 
2015-06-14 05:26:14 14272 [Note] InnoDB: Using Linux native AIO 
2015-06-14 05:26:14 14272 [Note] InnoDB: Using CPU crc32 instructions 
2015-06-14 05:26:14 14272 [Note] InnoDB: Initializing buffer pool, size = 128.0M 
InnoDB: mmap(137363456 bytes) failed; errno 12 
2015-06-14 05:26:14 14272 [ERROR] InnoDB: Cannot allocate memory for the buffer pool 
2015-06-14 05:26:14 14272 [ERROR] Plugin 'InnoDB' init function returned error. 
2015-06-14 05:26:14 14272 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 
2015-06-14 05:26:14 14272 [ERROR] Unknown/unsupported storage engine: InnoDB 
2015-06-14 05:26:14 14272 [ERROR] Aborting 


mysql5.6在ecs安装时出现的问题


ecs配置内存500M,innodb_buffer_pool_size = 128M


如何解决?

把虚拟内存开启。

你可能感兴趣的:(mysql)