That is a permissions error. Mysql does not own the database directory.
chown -R mysql /var/lib/mysql
Mailing List Receiver wrote:
> With basedir and datadir=/var/lib/mysql the error is:
> 011001 16:16:42 /usr/libexec/mysqld: Can't find file: './mysql/host.frm' (errno:
> 13)
>
> With basedir=/var/lib/mysql and datadir not set:
> /usr/libexec/mysqld: Can't change dir to '/var/lib/mysql/var/' (Errcode: 2)
> 011001 16:18:23 Aborting
> 011001 16:18:23 /usr/libexec/mysqld: Shutdown Complete
>
> With datadir=/var/lib/mysql and basedir not set:
> More information on setting the parameters you find in the
> manual.
> 011001 16:19:19 /usr/libexec/mysqld: Can't find file: './mysql/host.frm' (errno:
> 13)
>
> The server version: /usr/libexec/mysqld Ver 3.23.42-max for pc-linux-gnu on i686
> This is the latest version available from www.mysql.com.
> I also tried the latest version available from Red Hat (a little older
> version) with the same results.
>
> What gives?
>
> Todd Merriman
> todd@stripped
>
> ---------------------------------------------------------------------
> 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-thread86813@stripped>
> To unsubscribe, e-mail
> <mysql-unsubscribe-gerald_clark=suppliersystems.com@stripped>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
--
Gerald L. Clark
gerald_clark@stripped