免费注册 查看新帖 |

Chinaunix

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

SOS! mysql in redhat 9 can't start [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-10-17 18:26 |只看该作者 |倒序浏览
I use the mysql of redhat9 include.
but i can't start it . can you tell me how to do it????

[root@localhost fred]# /usr/bin/safe_mysqld
Starting mysqld daemon with databases from /var/lib/mysql
041017 16:53:46  mysqld ended

[root@localhost bin]# mysqladmin version
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)'
Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists!


log:
041017 16:53:46  mysqld started
041017 16:53:46  /usr/libexec/mysqld: Can't find file: './mysql/host.frm' (errno: 13)
041017 16:53:46  mysqld ended

论坛徽章:
0
2 [报告]
发表于 2004-10-17 20:42 |只看该作者

SOS! mysql in redhat 9 can't start

i got the solution to my problem all i did was
chown -R mysql /var/lib/mysql/*
chgrp daemon /var/lib/mysql/*
and all worked fine
把以上路径改成你的mysql路径。

另外,仔细阅读如下内容:
http://forums.devarticles.com/archive/t-4635

安装mysql要用mysql这个指定用户编译才可以。你是这么做的吗?

论坛徽章:
0
3 [报告]
发表于 2004-10-17 21:43 |只看该作者

SOS! mysql in redhat 9 can't start

redhat自带的mysql-client, 在下一个mysql-server装上就好了

论坛徽章:
0
4 [报告]
发表于 2004-10-17 23:16 |只看该作者

SOS! mysql in redhat 9 can't start

原帖由 "hopehui" 发表:
安装mysql要用mysql这个指定用户编译才可以。

不必用mysql,只要相关目录权限设置正确即可。


以上
祝愿“铁郎和梅德尔在时间长河里能够永远一起旅行”的siyeclover
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP