MySql配置错误

时间:2017-01-25 15:51:19

标签: mysql innodb

在Digital Ocean上运行Wordpress网站。今天早上开始接收"错误建立数据库连接"信息。 Droplet是运行Ubuntu 14.04的2 GB内存/ 40 GB HD。

尝试重新启动mysql,但得到"作业无法启动"。

状态报告" mysql停止/等待"

请帮助我。 另外,我不知道如何设置SWAP。

170125 7:51:17 [Note] /usr/sbin/mysqld: Shutdown complete 
170125 7:51:18 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will 
170125 7:51:18 [Note] Plugin 'FEDERATED' is disabled. Th/usr/sbin/m.jsqld: Can't find file: 1./mysql/plugin.frml (errno: 13) 
170125 7:51:18 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it. 
170125 7:51:18 InnoDB: The InnoDB memory heap is disabled 
170125 7:51:18 InnoDB: Mutexes and rw_locks use GCC atomic builtins 
170125 7:51:18 InnoDB: Compressed tables use zlib 1.2.8 
170125 7:51:18 InnoDB: Using Linux native RIO 
170125 7:51:18 InnoDB: Initializing buffer pool, size = 128.0M InnoDB: mmap(137363456 bytes) failed; errno 12 
170125 7:51:18 InnoDB: Completed initialization of buffer pool 
170125 7:51:18 InnoDB: Fatal error: cannot allocate memory for the buffer pool 
170125 7:51:18 [ERROR] Plugin 'InnoDB' init function returned error. 
170125 7:51:18 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed 
170125 7:51:18 [ERROR] Unknown/unsupported storage engine: InnoDB 
170125 7:51:18 [ERROR] Aborting

附加了错误日志errorlog

0 个答案:

没有答案