On Wednesday 11 December 2002 22:41, SLefevre at i-m-i-international dot com 
wrote:
> OK, I'm making progess on my MySQL problem. The log file says this:
>
> "021211 15:32:05  mysqld started
> 021211 15:32:05  /usr/libexec/mysqld: Can't find file: './mysql/host.frm'
> (errno: 13)
> 021211 15:32:05  mysqld ended"
>
>
> I've run the mysql_install_db script when I first installed mysql. I ran it
> again just today.
>
> I copied the directory from /var/lib/mysql to /usr/libexec/mysql (mysqld is
> in /usr/libexec), yet it says it still can't find the host.frm.
>
> "[root@server test]# less /usr/libexec/mysql/
> total 116
> drwxr-xr-x    3 root     root         4096 Dec 11 15:30 ./
> drwxr-xr-x    7 root     root         4096 Dec 11 15:28 ../
> ...
> -rw-r-----    1 root     root         8958 Dec 11 15:29 host.frm  "
>
> So now host.frm is in three places, but I get the same error.
>
> "[root@server libexec]# locate host.frm
> /usr/libexec/mysql/host.frm
> /var/lib/mysql/mysql/host.frm
> /var/lib/mysql/host.frm"
>
> Where the heck does it think it should be?

It should be located in the directory of database 'mysql'.
MySQL can't find the file because it doesn't have permissions on it.

$ perror 13
Error code  13:  Permission denied




-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Egor Egorov
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com




---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to