免费注册 查看新帖 |

Chinaunix

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

fbsd的mysql问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-02-25 20:44 |只看该作者 |倒序浏览
fbsd 4.10
ports安装mysql 4.0.23a
安装好后
simon# cd /usr/local/bin
simon# ./mysqld_safe &
[1] 254
simon# Starting mysqld daemon with databases from /usr/local/mysql
STOPPING server from pid file /usr/local/mysql/simon.localdomain.pid
050225 20:32:30  mysqld ended
[1]    Done                          ./mysqld_safe

mysql启动不了,于是

simon# cd /usr/local/etc/rc.d
simon# ./mysql-server.sh start
Starting mysql.
simon#

这样就可以启动!查看前面的出错记录

simon# ee /usr/local/mysql/simon.localdomain.err

050225 20:32:27  mysqld started
050225 20:32:28  InnoDB: Started
050225 20:32:28 /usr/local/libexec/mysqld: Can't find file: './mysql/host.frm' (errno: 13)
050225 20:32:28 Fatal error: Can't open privilege tables: Can't find file: './mysql/host.frm' (errno: 13)
050225 20:32:28 Aborting

050225 20:32:28  InnoDB: Starting shutdown...
050225 20:32:30  InnoDB: Shutdown completed
050225 20:32:30 /usr/local/libexec/mysqld: Shutdown Complete

050225 20:32:30  mysqld ended

不知道为什么有这样的错误,哪个地方设置错了吗?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP