redhat安装mysql,启动报如下错,怎么办

yxb0317 2013-07-26 12:16:36
130726 00:06:05 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data
2013-07-26 00:06:06 29694 [Note] Plugin 'FEDERATED' is disabled.
2013-07-26 00:06:06 29694 [Note] InnoDB: The InnoDB memory heap is disabled
2013-07-26 00:06:06 29694 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2013-07-26 00:06:06 29694 [Note] InnoDB: Compressed tables use zlib 1.2.3
2013-07-26 00:06:06 29694 [Note] InnoDB: Using Linux native AIO
2013-07-26 00:06:06 29694 [Note] InnoDB: Using CPU crc32 instructions
2013-07-26 00:06:06 29694 [Note] InnoDB: Initializing buffer pool, size = 128.0M
InnoDB: mmap(137363456 bytes) failed; errno 12
2013-07-26 00:06:06 29694 [ERROR] InnoDB: Cannot allocate memory for the buffer pool
2013-07-26 00:06:06 29694 [ERROR] Plugin 'InnoDB' init function returned error.
2013-07-26 00:06:06 29694 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2013-07-26 00:06:06 29694 [ERROR] Unknown/unsupported storage engine: InnoDB
2013-07-26 00:06:06 29694 [ERROR] Aborting
...全文
152 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
yxb0317 2013-07-27
  • 打赏
  • 举报
回复
引用 3 楼 rucypli 的回复:
[quote=引用 2 楼 yxb0317 的回复:] [quote=引用 1 楼 rucypli 的回复:] innodb_buffer_pool分配的内存改小点
改mysql目录下的my.cnf文件就行吗?[/quote] 是的 改了重新启动服务[/quote] Installing MySQL system tables...2013-07-27 15:04:36 1266 [Note] InnoDB: The InnoDB memory heap is disabled 2013-07-27 15:04:36 1266 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2013-07-27 15:04:36 1266 [Note] InnoDB: Compressed tables use zlib 1.2.3 2013-07-27 15:04:36 1266 [Note] InnoDB: Using Linux native AIO 2013-07-27 15:04:36 1266 [Note] InnoDB: Using CPU crc32 instructions 2013-07-27 15:04:36 1266 [Note] InnoDB: Initializing buffer pool, size = 16.0M 2013-07-27 15:04:36 1266 [Note] InnoDB: Completed initialization of buffer pool 2013-07-27 15:04:37 1266 [Note] InnoDB: The first specified data file ./ibdata1 did not exist: a new database to be created! 2013-07-27 15:04:37 1266 [Note] InnoDB: Setting file ./ibdata1 size to 12 MB 2013-07-27 15:04:37 1266 [Note] InnoDB: Database physically writes the file full: wait... 2013-07-27 15:04:37 1266 [Note] InnoDB: Setting log file ./ib_logfile101 size to 48 MB 2013-07-27 15:04:39 1266 [Note] InnoDB: Setting log file ./ib_logfile1 size to 48 MB 2013-07-27 15:04:42 1266 [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0 2013-07-27 15:04:42 1266 [Warning] InnoDB: New log files created, LSN=45781 2013-07-27 15:04:42 1266 [Note] InnoDB: Doublewrite buffer not found: creating new 2013-07-27 15:04:42 1266 [Note] InnoDB: Doublewrite buffer created 2013-07-27 15:04:42 1266 [Note] InnoDB: 128 rollback segment(s) are active. 2013-07-27 15:04:42 1266 [Warning] InnoDB: Creating foreign key constraint system tables. 2013-07-27 15:04:42 1266 [Note] InnoDB: Foreign key constraint system tables created 2013-07-27 15:04:42 1266 [Note] InnoDB: Creating tablespace and datafile system tables. 2013-07-27 15:04:42 1266 [Note] InnoDB: Tablespace and datafile system tables created. 2013-07-27 15:04:42 1266 [Note] InnoDB: Waiting for purge to start 2013-07-27 15:04:42 1266 [Note] InnoDB: 5.6.12 started; log sequence number 0 2013-07-27 15:04:42 1266 [Note] RSA private key file not found: /usr/local/mysql/data//private_key.pem. Some authentication plugins will not work. 2013-07-27 15:04:42 1266 [Note] RSA public key file not found: /usr/local/mysql/data//public_key.pem. Some authentication plugins will not work. 2013-07-27 15:04:43 1266 [Warning] InnoDB: Cannot open table mysql/innodb_table_stats from the internal data dictionary of InnoDB though the .frm file for the table exists. See http://dev.mysql.com/doc/refman/5.6/en/innodb-troubleshooting.html for how you can resolve the problem. ERROR: 1146 Table 'mysql.innodb_table_stats' doesn't exist 2013-07-27 15:04:43 1266 [ERROR] Aborting 2013-07-27 15:04:43 1266 [Note] Binlog end 2013-07-27 15:04:43 1266 [Note] InnoDB: FTS optimize thread exiting. 2013-07-27 15:04:43 1266 [Note] InnoDB: Starting shutdown... 2013-07-27 15:04:45 1266 [Note] InnoDB: Shutdown completed; log sequence number 1600607 2013-07-27 15:04:45 1266 [Note] ./bin/mysqld: Shutdown complete 这是什么问题啊?
rucypli 2013-07-26
  • 打赏
  • 举报
回复
引用 2 楼 yxb0317 的回复:
[quote=引用 1 楼 rucypli 的回复:] innodb_buffer_pool分配的内存改小点
改mysql目录下的my.cnf文件就行吗?[/quote] 是的 改了重新启动服务
yxb0317 2013-07-26
  • 打赏
  • 举报
回复
引用 1 楼 rucypli 的回复:
innodb_buffer_pool分配的内存改小点
改mysql目录下的my.cnf文件就行吗?
rucypli 2013-07-26
  • 打赏
  • 举报
回复
innodb_buffer_pool分配的内存改小点
Rotel-刘志东 2013-07-26
  • 打赏
  • 举报
回复
innodb_buffer_pool设置小点。
秋韩 2013-07-26
  • 打赏
  • 举报
回复
innodb_buffer_pool 太大了,可以修改my.cnf中[mysqld]节点下,innodb_buffer_pool_size的大小 ,如果是专门用来做mysql的服务器的话,可以设置为内存的60~80
珠海-天堂 2013-07-26
  • 打赏
  • 举报
回复
2013-07-26 00:06:06 29694 [ERROR] InnoDB: Cannot allocate memory for the buffer pool 问题在这里。

56,687

社区成员

发帖
与我相关
我的任务
社区描述
MySQL相关内容讨论专区
社区管理员
  • MySQL
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧