RE: Newbie Linux 7 installation question

2001-04-20 Thread Steve Tuckner

Gerald's recommendation worked peachily

-Original Message-
From: Gerald Clark [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 20, 2001 8:31 AM
To: Rolf Hopkins
Cc: Steve Tuckner; [EMAIL PROTECTED]
Subject: Re: Newbie Linux 7 installation question


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" [EMAIL PROTECTED]
 To: "Steve Tuckner" [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 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 [EMAIL PROTECTED]
  To unsubscribe, e-mail
 [EMAIL PROTECTED]
  Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

-
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




Newbie Linux 7 installation question

2001-04-19 Thread Steve Tuckner

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 [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php