免费注册 查看新帖 |

Chinaunix

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

用rpm装载mysql出错??? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-11-05 15:52 |只看该作者 |倒序浏览
系统是mandrake10.0。装的mysql版本是4.0.18。用urpmi安装的。
安装好后cp /usr/share/mysql/my-medium.cnf /etc/my.cnf
并且检查了/etc/my.cnf,有port=3306,socket=/usr/lib/mysql/mysql.sock两行
在系统重启之后发现,用 netstat -aunt看,有3306端口在侦听,但是在/etc/rc.d/init.d/下,用
mysqld status可以看到:(1)
041105  7:32:06  Can't start server: Bind on TCP/IP port: Address already in use
041105  7:32:06  Do you already have another mysqld server running on port: 3306 ?
041105  7:32:06  Aborting

041105  7:32:06  mysqld: Shutdown Complete
并且此时,不能用service mysql stop来关闭mysql服务,Stopping MySQL Server       FAILED
如果用ps aux|grep mysql看,此时,mysql服务还开着,如果用kill -9 强行把mysql服务给停掉
在/etc/rc.d/init.d/下用mysqld status可以看到:(2)                                          

     
Fatal error: Please read "Security" section of the manual to find out how to run mysqld as

root!
041105  7:38:53  Aborting

041105  7:38:53  mysqld: Shutdown Complete
此时还是可以开启mysql服务,但是还是出现上述(1)的情况,也不知道此时mysql服务到底有没有开启

。为什么会出现这种情况?怎么解决???
迷茫中………………
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP