llysonylin 发表于 2013-8-26 21:12:44

一个用service mysqld start无法启动的问题

为了方便,我装在了root用户下
命令行mysqld xxxxxxxxx可以启动
但是用service mysqld start,报错日志如下
2013-08-27 05:11:02 4831 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 Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
2013-08-27 05:11:02 4831 InnoDB: The InnoDB memory heap is disabled
2013-08-27 05:11:02 4831 InnoDB: Mutexes and rw_locks use InnoDB's own implementation
2013-08-27 05:11:02 4831 InnoDB: Compressed tables use zlib 1.2.3
2013-08-27 05:11:02 4831 InnoDB: Using Linux native AIO
2013-08-27 05:11:02 4831 InnoDB: Not using CPU crc32 instructions
2013-08-27 05:11:02 4831 InnoDB: Initializing buffer pool, size = 32.0M
2013-08-27 05:11:02 4831 InnoDB: Completed initialization of buffer pool
2013-08-27 05:11:02 4831 InnoDB: ./ibdata1 can't be opened in read-write mode
2013-08-27 05:11:02 4831 InnoDB: The system tablespace must be writable!
2013-08-27 05:11:02 4831 Plugin 'InnoDB' init function returned error.
2013-08-27 05:11:02 4831 Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2013-08-27 05:11:02 4831 Unknown/unsupported storage engine: InnoDB
2013-08-27 05:11:02 4831 Aborting

不知道是不是权限问题,该赋权都已经赋权了,是不是还有哪个参数要配置?

cassiexuxu 发表于 2013-8-26 23:07:52

你把你存放mysql的相关信息的目录都 chown -R mysql:mysql 目录 试试呢?
页: [1]
查看完整版本: 一个用service mysqld start无法启动的问题