LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 963|回复: 3

Mysql启动错误,请帮忙~

[复制链接]
发表于 2004-3-26 08:54:34 | 显示全部楼层 |阅读模式
出错日志如下
[PHP]040325 00:06:57  mysqld started
040325  0:06:58  Can't start server : Bind on unix socket: Permission denied
040325  0:06:58  Do you already have another mysqld server running on socket: /opt/mysql/var/mysql.sock ?
040325  0:06:58  Aborting

040325  0:06:58  /opt/mysql/libexec/mysqld: Shutdown Complete

040325 00:06:58  mysqld ended

040325 00:08:20  mysqld started
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
040325  0:08:20  InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
040325  0:08:22  InnoDB: Log file ./ib_logfile0 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
040325  0:08:23  InnoDB: Log file ./ib_logfile1 did not exist: new to be created
InnoDB: 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
040325  0:08:24  InnoDB: Started
040325  0:08:24  Fatal error: Can't open privilege tables: Can't find file: './mysql/host.frm' (errno: 13)
040325  0:08:24  Aborting

040325  0:08:24  InnoDB: Starting shutdown...
040325  0:08:26  InnoDB: Shutdown completed
040325  0:08:26  /opt/mysql/libexec/mysqld: Shutdown Complete

040325 00:08:26  mysqld ended
[/PHP]
我用的是redhat AS 3
安装mysql-4.0.16.tar.gz源码包
请问如何解决?
发表于 2004-3-26 12:27:57 | 显示全部楼层
是不是已经默认安装了MYSQL3.X了,并且已经在运行了呢?
 楼主| 发表于 2004-3-26 12:57:42 | 显示全部楼层
没有,安装mysql-4.0.16.tar.gz我查过,一项关于sql的也没安装。
 楼主| 发表于 2004-3-26 20:53:33 | 显示全部楼层
帮忙啊~
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表