Re: Can't find hosts.frm -- permissions now okay?

2002-12-12 Thread Kenneth Illingsworth
I had a similar experience right down to the error message you are getting. Based on 
that experience, I am inclined to recommend the following:

1) Abandon your current installation which I perceive that your are attempting from a 
MySQL tarball.
2) Download the webmin-1.030 tarball and execute ./setup.sh after exploding the 
tarball with tar -xzvf webmin-1.030.tar.gz . 
3) Download the RPMs for MySQL instead of the tarball you are now using. 
4) Use webmin to install the RPMs.

This was much easier for me. GL

 Lefevre, Steven [EMAIL PROTECTED] 12/12/02 03:17PM 
I'm still getting the error 'Can't find hosts.frm' when I try to laund the
mysql daemon.


I've  run the mysql_install_db script several times.

I've changed the user and group ownership for all the files in the
/usr/libexec/mysql directory, and also in /var/lib/mysql to 'mysql' (it was
'root').

(RPM installed it originally in /var/lib/mysql, I copied it  to
/usr/libexec/mysql just in case that's where is was looking. That's where th
mysqld was, and the error said can't find ./hosts.frm.)

Any ideas?

ls -la /var/lib/mysql/
total 120
drwxr-xr-x4 mysqlmysql4096 Dec 12 15:03 .
drwxr-xr-x   13 root root 4096 Dec  6 10:07 ..
...
-rw-rw1 mysqlmysql1024 Dec  6 11:10 func.MYI
-rw-rw1 mysqlmysql8958 Dec  6 11:10 host.frm
-rw-rw1 mysqlmysql   0 Dec  6 11:10 host.MYD
...

ls -la /usr/libexec/mysql
total 116
drwxr-xr-x3 root root 4096 Dec 11 15:30 .
drwxr-xr-x7 root root 4096 Dec 11 15:28 ..
...
-rw-r-1 mysqlmysql1024 Dec 11 15:29 func.MYI
-rw-r-1 mysqlmysql8958 Dec 11 15:29 host.frm
-rw-r-1 mysqlmysql   0 Dec 11 15:29 host.MYD
...


-
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




Re: Can't find hosts.frm -- permissions now okay?

2002-12-12 Thread Csongor Fagyal
Lefevre, Steven wrote:


I'm still getting the error 'Can't find hosts.frm' when I try to laund the
mysql daemon.


I've  run the mysql_install_db script several times.

I've changed the user and group ownership for all the files in the
/usr/libexec/mysql directory, and also in /var/lib/mysql to 'mysql' (it was
'root').

(RPM installed it originally in /var/lib/mysql, I copied it  to
/usr/libexec/mysql just in case that's where is was looking. That's where th
mysqld was, and the error said can't find ./hosts.frm.)

Any ideas?

ls -la /var/lib/mysql/
total 120
drwxr-xr-x4 mysqlmysql4096 Dec 12 15:03 .
drwxr-xr-x   13 root root 4096 Dec  6 10:07 ..
...
-rw-rw1 mysqlmysql1024 Dec  6 11:10 func.MYI
-rw-rw1 mysqlmysql8958 Dec  6 11:10 host.frm
-rw-rw1 mysqlmysql   0 Dec  6 11:10 host.MYD
...

ls -la /usr/libexec/mysql
total 116
drwxr-xr-x3 root root 4096 Dec 11 15:30 .
drwxr-xr-x7 root root 4096 Dec 11 15:28 ..
...
-rw-r-1 mysqlmysql1024 Dec 11 15:29 func.MYI
-rw-r-1 mysqlmysql8958 Dec 11 15:29 host.frm
-rw-r-1 mysqlmysql   0 Dec 11 15:29 host.MYD
...
 


How come your mysql is looking for hosts.frm while you have host.frm? Is 
that a normal behaviour?

- Cs.


-
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