数据库经常停止
数据库经常停止,麻烦军哥帮忙看下,多谢军哥了 新错误日志 160423 10:46:25 mysqld_safe mysqld from pid file /home/mysql/AY1108180228451.pid ended160423 10:46:26 mysqld_safe Starting mysqld daemon with databases from /home/mysql
我没看过会有/home/mysql这个目录的,你到底改了什么配置文件了呢? 1604234:17:24 InnoDB: Initializing buffer pool, size = 128.0M
InnoDB: mmap(137363456 bytes) failed; errno 12
1604234:17:24 InnoDB: Completed initialization of buffer pool
1604234:17:24 InnoDB: Fatal error: cannot allocate memory for the buffer pool
1604234:17:24 Plugin 'InnoDB' init function returned error.
1604234:17:24 Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
1604234:17:24 Unknown/unsupported storage engine: InnoDB
1604234:17:24 Aborting
安装日志看是内存不足,可以将innodb_buffer_pool_size 调小一些再看看
160423 12:28:06 Got error 127 when reading table './bbs2014/pre_forum_post'
160423 12:28:46 Got error 127 when reading table './bbs2014/pre_forum_post'
另外 你这个数据库里的表有错误还需要修复一下
回复 4# 的帖子
好的,多谢军哥:D :D :D
页:
[1]