I want to build Web Site with apache, mysql & php. I have installed Red Hat 8 on pentium 4 system. After downloading source code for all the three packages I have compiled Apache,PHP,MySql. The compilation completed without any errors.
Now when I try to run /etc/rc.d/init.d/mysql start
I am geting following message
Starting mysqld daemon with databases from /usr/local/mysql/var
030730 19:08:31 mysqld ended
When I checked localhost.localdomain.err file from /usr/mysql/var
it is showning following error message
030730 19:08:30 mysqld started
030730 19:08:31 InnoDB: Database was not shut down normally.
InnoDB: Starting recovery from log files...
InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 0 43892
InnoDB: Doing recovery: scanned up to log sequence number 0 43892
030730 19:08:31 InnoDB: Flushing modified pages from the buffer pool...
030730 19:08:31 InnoDB: Started
030730 19:08:31 /usr/local/mysql/libexec/mysqld: Can't find file: './mysql/host.frm' (errno: 13)
030730 19:08:31 mysqld ended
As I am compiling these software first time I don't have any clue about how to solve these types of problems. Please help me out!
I am using a book "beginning databases with MySQL" to learn these softwares.
Thanks in advance
Prasad Sakharkar
Mumbai(India)
[email protected]