Re: mysql setup


Subject: Re: mysql setup
From: nathan r. hruby (nhruby@arches.uga.edu)
Date: Sat Feb 02 2002 - 13:04:16 MST


On Sat, 2 Feb 2002, Joe Villari wrote:

> OK. I ran mysql_install_db. still get the same result when running
> safe_mysqld with a new log entry:
>
> 020202 09:40:09 mysqld started
> 020202 09:40:09 /usr/libexec/mysqld: Can't find file:
> './mysql/host.frm' ( errno: 13)
> 020202 09:40:09 mysqld ended
>
> There is a host.frm file at /var/lib/mysql/mysql/host.frm, how do I
> tell mysqld to use this path or will I have to enter it each time as
> an option?
>

mysqld is looking for host.frm (and friends) in /usr/libexec/mysql which
is not where mysql_iinstall_db put them (it put them in /var/lib/mysql)
so wither rerun mysql_install_db to put things in /usr/libexec or chnage
the safe_mysqld script to look in /var/lib/mysql for it's data (read the
manpage for safe_mysqld for the option to do this.)

-n

--

...... nathan hruby - nhruby@arches.uga.edu computer support specialist department of drama and theatre http://www.drama.uga.edu/ ......



This archive was generated by hypermail 2a24 : Sat Feb 02 2002 - 13:19:53 MST