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
> [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> 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


-- 
Gerald L. Clark
[EMAIL PROTECTED]


---------------------------------------------------------------------
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