Hi ED,

The famous error 13 ;-)

Linux permissions not set correctly.

The problem is the user account you specified for the mysql files & directory. 
If you look at your database directories f.e /var/lib/mysql do:

ls -al >> look at the user acounts is uses

baby-bumble-bee:/var/lib/mysql # ls -al
total 484
drwx------   14 mysql    mysqlgrp     4096 Jun  2 20:13 .
drwxr-xr-x   46 root     root         4096 May  9 13:21 ..
-rw-------    1 mysql    mysqlgrp      269 Apr 13 14:46 .my.cnf
-rw-------    1 mysql    mysqlgrp     4902 Feb  8 17:42 
baby-bumble-bee-bin.001
-rw-------    1 mysql    mysqlgrp       86 Feb  8 18:20 
baby-bumble-bee-bin.002
-rw-------    1 mysql    mysqlgrp       86 Feb 28 09:50 
baby-bumble-bee-bin.003
-rw-------    1 mysql    mysqlgrp       86 Feb 28 19:22 
baby-bumble-bee-bin.004
-rw-------    1 mysql    mysqlgrp       86 Mar  1 01:57 
baby-bumble-bee-bin.005
-rw-rw----    1 mysql    mysqlgrp       98 Apr  8 09:41 
baby-bumble-bee-bin.006
-rw-rw----    1 mysql    mysqlgrp       98 Apr  8 09:42 
baby-bumble-bee-bin.007
-rw-rw----    1 mysql    mysqlgrp       98 Apr  8 09:43 
baby-bumble-bee-bin.008
-rw-rw----    1 mysql    mysqlgrp       98 Apr  8 09:43 
baby-bumble-bee-bin.009
-rw-rw----    1 mysql    mysqlgrp       98 Apr  8 09:44 
baby-bumble-bee-bin.010
-rw-rw----    1 mysql    mysqlgrp       98 Apr  8 09:46 
baby-bumble-bee-bin.011
-rw-rw----    1 mysql    mysqlgrp       98 Apr  8 09:46 
baby-bumble-bee-bin.012
-rw-rw----    1 mysql    mysqlgrp       98 Apr  8 10:06 
baby-bumble-bee-bin.013
-rw-rw----    1 mysql    mysqlgrp       98 Apr  8 13:31 
baby-bumble-bee-bin.014
-rw-rw----    1 mysql    mysqlgrp       98 Apr  8 15:10 
baby-bumble-bee-bin.015
-rw-rw----    1 mysql    mysqlgrp       79 Apr  8 15:15 
baby-bumble-bee-bin.016
-rw-rw----    1 mysql    mysqlgrp       98 Apr  8 18:43 
baby-bumble-bee-bin.017
-rw-rw----    1 mysql    mysqlgrp       98 Apr  8 19:39 
baby-bumble-bee-bin.018
-rw-rw----    1 mysql    mysqlgrp       98 Apr  8 20:07 
baby-bumble-bee-bin.019
-rw-rw----    1 mysql    mysqlgrp       98 Apr  9 07:23 
baby-bumble-bee-bin.020
-rw-rw----    1 mysql    mysqlgrp       98 Apr  9 20:55 
baby-bumble-bee-bin.021
-rw-rw----    1 mysql    mysqlgrp       98 Apr 10 11:29 
baby-bumble-bee-bin.022
-rw-rw----    1 mysql    mysqlgrp       98 Apr 10 13:06 
baby-bumble-bee-bin.023
-rw-rw----    1 mysql    mysqlgrp       98 Apr 10 13:25 
baby-bumble-bee-bin.024
-rw-rw----    1 mysql    mysqlgrp       98 Apr 10 14:01 
baby-bumble-bee-bin.025
-rw-rw----    1 mysql    mysqlgrp      223 Apr 10 18:43 
baby-bumble-bee-bin.026
-rw-------    1 mysql    mysqlgrp      676 Apr 10 14:09 
baby-bumble-bee-bin.index
-rw-------    1 mysql    mysqlgrp   296767 Jun  2 20:13 baby-bumble-bee.err
-rw-rw----    1 mysql    mysqlgrp      156 Apr  7 21:53 baby-bumble-bee.log
-rw-rw----    1 mysql    daemon          3 Jun  2 20:13 baby-bumble-bee.pid
drwx------    2 mysql    daemon       4096 Apr 22 16:22 create_samples
drwxr-xr-x    2 root     mysqlgrp     4096 Apr 13 00:54 htdig
drwx------    2 mysql    mysqlgrp     4096 Apr 10 14:05 join
drwx------    2 mysql    mysqlgrp     4096 May  2 14:46 mysql
lrwxrwxrwx    1 mysql    mysqlgrp       15 Mar 19 16:51 mysql.sock -> 
/tmp/mysql.sock
drwx------    2 mysql    mysqlgrp     4096 Apr 24 13:01 newone
drwx------    2 mysql    daemon       4096 May 27 09:50 sample
drwx------    2 mysql    daemon       4096 Apr 25 15:41 samples
drwx------    2 mysql    mysqlgrp     4096 May 12 21:03 school_en
drwx------    2 mysql    daemon       4096 May 13 14:01 school_jp
drwxr-xr-x    2 mysql    mysqlgrp     8192 May 17 11:26 test
drwx------    2 mysql    mysqlgrp     4096 Apr 14 11:58 webforum
drwx------    2 mysql    mysqlgrp     8192 May 17 11:26 xoops

Check this on your system as well and ake sure its not using "root" or 
something like this.

Use chown and chgrp to change it to mysql's Linux user account (ps -u). Then 
it will start without any problems.


Best regards

Nils Valentin




2003年 6月 3日 火曜日 01:[EMAIL PROTECTED] さんは書きました:
>  I recently installed Slackware 9.0 from ISO onto a box and cannot get
> mysql to run on it. It gives the error:
>
> mysql started
> /usr/libexec/mysqld: Can't find file: '/mysql/host.frm' (errno: 13)
> mysql ended
>
>  So I though maybe the initial setup hadn't been done so I ran
> /usr/bin/mysql_install_db and still get the same thing.
>
> Being that this is from a distribution installation I figured it should
> work ok from the get go. What do I need to do to make it work?
>
> Thanks,
>
> Ed Curtis
>
> sql,mysql

-- 
================================================
Valentin Nils
Internet Technology

 E-Mail: [EMAIL PROTECTED]
 URL: http://www.knowd.co.jp
================================================


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to