免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1773 | 回复: 4
打印 上一主题 下一主题

mysql 安装后出错,不能启动 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-06-16 09:10 |只看该作者 |倒序浏览
# ./mysqld_safe -user=mysql&
13806
# Starting mysqld daemon with databases from /usr/local/mysql/var
STOPPING server from pid file /usr/local/mysql/var/ciscofan.pid
060616 09:05:10  mysqld ended

请问怎么办?我重新覆盖安装仍然是这个问题.
或者有无办法先删除mysql,然后再重新安装?

论坛徽章:
0
2 [报告]
发表于 2006-06-16 09:15 |只看该作者
错误如下:
# cat ciscofan.err
060616 09:07:14  mysqld started
Warning: Ignoring user change to 'ser=mysql' because the user was set to 'mysql'
earlier on the command line
060616  9:07:14  InnoDB: Operating system error number 13 in a file operation.
InnoDB: See http://www.innodb.com/ibman.php for installation help.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: 'create'.
InnoDB: Cannot continue operation.
060616 09:07:14  mysqld ended

论坛徽章:
0
3 [报告]
发表于 2006-06-16 09:21 |只看该作者
用户 mysql 对 /usr/local/mysql/var 目录没写权限,检查一下。

论坛徽章:
0
4 [报告]
发表于 2006-06-16 09:24 |只看该作者
但是奇怪的是,我几乎所有的目录都设置成了OWN和GROUP都是mysql,为什么没权限呢?

论坛徽章:
0
5 [报告]
发表于 2006-06-16 09:29 |只看该作者
搞定了,多谢了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP