环境细节:
Server: Amazon ec2 Linux
Web Server: Apache
Web Framework: Django with mod_wsgi
Run Code Online (Sandbox Code Playgroud)
以下我在mysql_err.log文件中找到了.
The InnoDB memory heap is disabled
120823 3:21:40 InnoDB: Mutexes and rw_locks use GCC atomic builtins
120823 3:21:40 InnoDB: Compressed tables use zlib 1.2.3
120823 3:21:40 InnoDB: Using Linux native AIO
120823 3:21:41 InnoDB: Initializing buffer pool, size = 128.0M
InnoDB: mmap(137363456 bytes) failed; errno 12
120823 3:21:41 InnoDB: Completed initialization of buffer pool
120823 3:21:41 InnoDB: Fatal error: cannot allocate memory for the buffer pool …Run Code Online (Sandbox Code Playgroud) 我试图使用easyPHP启动MySQL:响应是日志文件的警报窗口.主要错误是< - 插件'FEDERATED'被禁用 - >.
通过在线研究,我发现解决方案是将联合选项添加到my.ini文件中.我这样做了,但它仍然没有用.
以下是日志文件的摘录以获取更多信息:
2013-05-03 14:12:57 3776 [Note] Plugin 'FEDERATED' is disabled.
2013-05-03 14:12:57 1b4c InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
2013-05-03 14:12:57 3776 [Note] InnoDB: The InnoDB memory heap is disabled
2013-05-03 14:12:57 3776 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2013-05-03 14:12:57 3776 [Note] InnoDB: Compressed tables use zlib …Run Code Online (Sandbox Code Playgroud)