List:General Discussion« Previous MessageNext Message »
From:Gerald Clark Date:April 20 2001 1:31pm
Subject:Re: Newbie Linux 7 installation question
View as plain text  
No, it can't find the file because the mysql database directory is owned
by root.

Rolf Hopkins wrote:
> 
> More like it has already started.  Do "ps -ef | grep mysql" to find out.
> 
> ----- Original Message -----
> From: "Gerald Clark" <gerald_clark@stripped>
> To: "Steve Tuckner" <SAT@stripped>
> Cc: <mysql@stripped>
> Sent: Friday, April 20, 2001 0:21
> Subject: Re: Newbie Linux 7 installation question
> 
> > chown -R mysql /var/mysql
> >
> >
> > Steve Tuckner wrote:
> > >
> > > When I run safe_mysqld, it starts and ends immediatly. In the mysqld.log
> in
> > > /var/log it has the following:
> > >
> > > 010418 21:19:47  mysqld started
> > > 010418 21:19:47  /usr/libexec/mysqld: Can't find file:
> './mysql/host.frm'
> > > (errno: 13)
> > > 010418 21:19:47  mysqld ended
> > >
> > > Below is the my.cnf file
> > >
> > > [mysqld]
> > > datadir=/var/lib/mysql
> > > socket=/var/lib/mysql/mysql.sock
> > >
> > > [mysql.server]
> > > user=mysql
> > > basedir=/var/lib
> > >
> > > [safe_mysqld]
> > > err-log=/var/log/mysqld.log
> > > pid-file=/var/run/mysqld/mysqld.pid
> > >
> > > I ran mysql_install_db and it created database files in
> > > /var/lib/mysql/mysql. The file host.frm does exist in that directory. I
> > > tried copying those files /var/lib/mysql but it made no difference. I
> have
> > > no ethernet card in the machine and therefore it would be running as
> > > localhost.
> > >
> > > Any ideas???
> > >
> > > Thanks,
> > >
> > > Steve
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > 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 <mysql-thread71875@stripped>
> > To unsubscribe, e-mail
> <mysql-unsubscribe-rhopkins=mail.waytech.com.tw@stripped>
> > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Thread
Newbie Linux 7 installation questionSteve Tuckner19 Apr
  • Re: Newbie Linux 7 installation questionGerald Clark19 Apr
  • Re: Newbie Linux 7 installation questionRolf Hopkins20 Apr
  • Re: Newbie Linux 7 installation questionGerald Clark20 Apr
RE: Newbie Linux 7 installation questionSteve Tuckner20 Apr