免费注册 查看新帖 |

Chinaunix

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

mysql启动问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-09-20 11:38 |只看该作者 |倒序浏览
我刚装了mysql  启动时,老是出现这样,请问这如何解决:
  Timeout error occurred trying to start MySQL Daemon
日志是这样:
050920 10:38:27  mysqld started
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
050920 10:38:28  InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
050920 10:38:30  InnoDB: Log file ./ib_logfile0 did not exist: new to be createdInnoDB: Setting log file ./ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
050920 10:38:31  InnoDB: Log file ./ib_logfile1 did not exist: new to be createdInnoDB: Setting log file ./ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
050920 10:38:32  InnoDB: Started; log sequence number 0 0
050920 10:38:33 [ERROR] Fatal error: Can't open privilege tables: Table 'mysql.host' doesn't exist
050920 10:38:33  mysqld ended

论坛徽章:
0
2 [报告]
发表于 2005-09-20 23:42 |只看该作者

mysql启动问题

你是 FC4 系统么?
都有这个错误,应该修改 /etc/init.d/mysqld 文件
把那两个 ping 加个参数 -9 似乎.

论坛徽章:
0
3 [报告]
发表于 2005-09-21 08:45 |只看该作者

mysql启动问题

原帖由 "网络无自我" 发表:
atal error: Can't open privilege tables: Table 'mysql.host' doesn't exist
050920 10:38:33  mysqld ended


你的mysql库中的host表不存在,现执行 mysql_install_db 初始化一下
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP