Make sure mysql owns the mysql database directory and files.

Peter H. Burris wrote:

> I'm a sysadmin who created mysql installs for users on linux x86 boxen;  I
> had to create self-contained, architecture-specific packages to comply
> with our in-house means of handling software in my department.  That took
> three weeks to fine-tune and distribute and mysql seemed to run out of the
> box, after some tuning on my build-host.
> 
> Everything LOOKED good...until the user who called and said, "did you
> change my password?"  uh, no.  "Why can't I get on Mysql, then?" uh, did
> you do a ps -ef? "nothing happens.
> 
> well, the host.some.domain.err says the following:
> 
> 010619 16:39:30  mysqld started
> 010619 16:39:30  /usr/local/mysql/libexec/mysqld: Can't find file:
> './mysql/host.frm' (errno: 13)
> 010619 16:39:30  mysqld ended
> 
>       searches on dejanews.com (or 'googlegroups, as they are known)
> revealed someone had run into this and had been advised to run the
> installdb script;  I did that again, but now it doesn't do me much good,
> so I try linking over /usr.../mysql/var/mysql to /usr/../,ysql/libexec,
> but to no visible change in behavior, judging by stdout and the *.err log.
> 
> What painfully simple, stupid thing am I missing?
> 
> 
> ---------------------------------------------------------------------
> 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