|
出错日志如下
[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源码包
请问如何解决? |
|