Mysql does not own the database and its tables;
chown -R mysql /usr/local/mysql/var
( or whatever the database location is. )
Kariuki, JohnX K wrote:
>Hi I am pretty new to linux and I was trying to setup and use mysql, I
>followed the directions you provided about compiling it and installing it,
>but when I try to start the server the mysql daemon fail right away : saying
>mysqld ended. I looked at the error log and this is what it says :
>/usr/local/mysql/bin/mysqld: Can't find file : './mysql/host.frm' (errno :
>13).
>Now the file host.frm is in the directory /var/lib/mysql/mysql/host.frm, I
>was gonna put this somewhere in the msqld file but it is not in human
>readeable form.
>Thank you.
>John
>
>---------------------------------------------------------------------
>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 <mysql-thread111522@stripped>
>To unsubscribe, e-mail
> <mysql-unsubscribe-gerald_clark=suppliersystems.com@stripped>
>Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
>