Hi Todd,

 > Setting basedir=/var/lib/mysql produces the error message:
 >      /usr/libexec/mysqld: Can't change dir to '/var/lib/mysql/var/' (Errcode: 2)
 >      with datadir not set to anything

errcode 2 = no such file or directory

 > Setting datadir=/var/lib/mysql produces the error message:
 >      011001 13:32:27  /usr/libexec/mysqld: Can't find file: './mysql/host.frm' 
 >(errno: 13)
 >      with basedir not set to anything

errcode 13 = permission denied

 > Setting both datadir and basedir=/var/lib/mysql produces the error message:
 > 011001 13:33:57  /usr/libexec/mysqld: Can't find file: './mysql/host.frm' (errno: 13)
<cut>

Make sure that the user as whom your mysqld process is running,
is allowed to access that directory and the files.

Regards,

- Jani

For technical support contracts, visit https://order.mysql.com/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Mr. Jani Tolonen <[EMAIL PROTECTED]>
 / /|_/ / // /\ \/ /_/ / /__   MySQL AB, Full-Time Developer
/_/  /_/\_, /___/\___\_\___/   Helsinki, Finland
       <___/   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