Blain,
Friday, October 25, 2002, 2:11:11 AM, you wrote:

BN> I've used MySQL before, a few years ago, under Slackware.  I never could get it to 
compile (despite 
BN> lots of help from folks here), but a pre-rolled binary did just fine for what I 
needed at the time.  
BN> That system is no longer hooked up.

BN> I've recently installed a newer version of Slack (7.0 I believe) which comes with 
MySQL in it, but I 
BN> can't get mysqld to run either on its own or (preferably) with safe_mysqld.  

BN> It appears that all the scripts are in /usr/bin/, mysqld is in /usr/libexec/ and 
the data files are off 
BN> of /var/lib/mysql/.

BN> I did do mysql_install_db, but, when I try to use safe_mysqld &, it says that it's 
starting, and then 
BN> it says that it's done.  When I look in /var/lib/mysql/ there is a .err file that 
says 
BN> "/usr/libexec/mysqld Can't find file: './mysql/host.frm' (errno: 13)".  It's very 
insistant about this, 
BN> btw -- I've checked several times, and that's all that it has to say about that.

BN> The manual says that errno: 13 means we've got a permission problem, but I've 
tried chmod to the 
BN> /var/lib/mysql/ and /var/lib/mysql/mysql/ directories and their contents, and that 
doesn't seem to make 
BN> anybody happier.  

BN> So, for you folks I've seen in the archive saying how Slack rocks (with which I 
agree), a hand would be 
BN> appreciated.  

BN> Additional data in case it's handy:

BN> mysqlaccess indicates that this is:
BN> $VERSION        = "2.06, 20 Dec 2000";
BN> and 
BN> $SERVER = "3.21"

BN> Any other information you can tell me how to find out for you will be given on 
request, but I may ask
BN> for commonly used words to be defined or clarified because I'm not all that great 
with this stuff.

MySQL must be owner of the data dir.

chown -R mysql /var/lib/mysql


-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Victoria Reznichenko
 / /|_/ / // /\ \/ /_/ / /__   [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