MySQL社区

标题: 一个用service mysqld start无法启动的问题 [打印本页]

作者: llysonylin    时间: 2013-8-26 21:12
标题: 一个用service mysqld start无法启动的问题
为了方便,我装在了root用户下
命令行mysqld xxxxxxxxx可以启动
但是用service mysqld start,报错日志如下
2013-08-27 05:11:02 4831 [Note] Plugin 'FEDERATED' is disabled.
/usr/sbin/mysqld: Can't find file: './mysql/plugin.frm' (errno: 13 - Permission denied)
2013-08-27 05:11:02 4831 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
2013-08-27 05:11:02 4831 [Note] InnoDB: The InnoDB memory heap is disabled
2013-08-27 05:11:02 4831 [Note] InnoDB: Mutexes and rw_locks use InnoDB's own implementation
2013-08-27 05:11:02 4831 [Note] InnoDB: Compressed tables use zlib 1.2.3
2013-08-27 05:11:02 4831 [Note] InnoDB: Using Linux native AIO
2013-08-27 05:11:02 4831 [Note] InnoDB: Not using CPU crc32 instructions
2013-08-27 05:11:02 4831 [Note] InnoDB: Initializing buffer pool, size = 32.0M
2013-08-27 05:11:02 4831 [Note] InnoDB: Completed initialization of buffer pool
2013-08-27 05:11:02 4831 [ERROR] InnoDB: ./ibdata1 can't be opened in read-write mode
2013-08-27 05:11:02 4831 [ERROR] InnoDB: The system tablespace must be writable!
2013-08-27 05:11:02 4831 [ERROR] Plugin 'InnoDB' init function returned error.
2013-08-27 05:11:02 4831 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2013-08-27 05:11:02 4831 [ERROR] Unknown/unsupported storage engine: InnoDB
2013-08-27 05:11:02 4831 [ERROR] Aborting

不知道是不是权限问题,该赋权都已经赋权了,是不是还有哪个参数要配置?
作者: cassiexuxu    时间: 2013-8-26 23:07
你把你存放mysql的相关信息的目录都 chown -R mysql:mysql 目录 试试呢?




欢迎光临 MySQL社区 (http://www.mysqlpub.com/) Powered by Discuz! X3.2