您的位置:首页 > 数据库 > MySQL

mysql启动不起来了!

2016-01-29 16:01 751 查看
[root@iZ28r2sl9qkZ data]# service mysqld restart
MySQL server PID file could not be found! [FAILED]
Starting MySQL.The server quit without updating PID file (/[FAILED]server/mysql/data/iZ28r2sl9qkZ.pid).

vim /alidata/log/mysql/error.log

2016-01-29 15:56:01 14303 [Note] InnoDB: Initializing buffer pool, size = 128.0M
InnoDB: mmap(137363456 bytes) failed; errno 12

innodb 配置的内存太大,改一下配置 my.cnf

[mysqld]
innodb_buffer_pool_size = 64M
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: