MySQL社区

 找回密码
 注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

搜索
查看: 3450|回复: 1
打印 上一主题 下一主题

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

[复制链接]
跳转到指定楼层
1#
发表于 2013-8-26 21:12:44 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
为了方便,我装在了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

不知道是不是权限问题,该赋权都已经赋权了,是不是还有哪个参数要配置?
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
收藏收藏 分享淘帖 顶 踩
推荐
发表于 2013-8-26 23:07:52 | 只看该作者
你把你存放mysql的相关信息的目录都 chown -R mysql:mysql 目录 试试呢?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|申请友链|小黑屋|Archiver|手机版|MySQL社区 ( 京ICP备07012489号   
联系人:周生; 联系电话:13911732319

GMT+8, 2024-4-27 09:24 , Processed in 0.063393 second(s), 24 queries , Gzip On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表