Error code 13: Permission denied Check if the user that runs mysql (usually user mysql) has permissions on those directories. Usually, the ownership is mysql.
An example (i also have the mysql group): [root@cartman mysql]# pwd /var/lib/mysql [root@cartman mysql]# ll -dh . .. *.* mysql drwxr-xr-x 21 mysql mysql Jul 1 22:44 . drwxr-xr-x 15 root root Apr 1 15:55 .. -rw-rw---- 1 mysql mysql May 23 17:54 cartman-bin.009 -rw-rw---- 1 mysql mysql May 23 18:15 cartman-bin.010 -rw-rw---- 1 mysql mysql May 23 18:20 cartman-bin.011 -rw-rw---- 1 mysql mysql May 23 18:15 cartman-bin.index -rw-rw-r-- 1 mysql mysql Jul 8 14:43 cartman.err -rw-rw-r-- 1 mysql mysql Jan 16 20:10 cartman.log -rw-rw---- 1 mysql mysql Jun 27 03:05 cartman.pid -rw-rw-r-- 1 mysql mysql Jul 16 11:10 cartman-slow.log -rw-rw---- 1 mysql mysql Jun 27 03:05 master.info drwx--x--x 2 mysql mysql Dec 5 2001 mysql srwxrwxrwx 1 mysql mysql Jun 27 03:05 mysql.sock [root@cartman mysql]# On Tue, 2002-07-16 at 11:25, Aaron Axelsen wrote: > The instructions where followed from the website exaactly and all the > file premissions are correct, but I still get the following errors in > ther log file: > > > 020716 05:23:59 mysqld started > ^G/usr/local/mysql/libexec/mysqld: File './Alpha-bin.1' not found > (Errcode: 13) > 020716 5:23:59 Could not use Alpha-bin for logging (error 13) > 020716 5:23:59 /usr/local/mysql/libexec/mysqld: Can't create/write to > file '/usr/local/mysql/var/Alpha.pid' (Errcode: 13) > 020716 5:23:59 /usr/local/mysql/libexec/mysqld: Can't find file: > './mysql/host.frm' (errno: 13) > 020716 5:23:59 /usr/local/mysql/libexec/mysqld: Error on delete of > '/usr/local/mysql/var/Alpha.pid' (Errcode: 13) > 020716 05:23:59 mysqld ended > > > --- > Aaron Axelsen > AIM: AAAK2 > Email: [EMAIL PROTECTED] > URL: www.amadmax.com > > "It said, ""Insert disk #3,"" but only two will fit!" > "One picture is worth 128K words." > > > -----Original Message----- > From: Georg Richter [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 16, 2002 3:29 AM > To: Aaron Axelsen; [EMAIL PROTECTED] > Subject: Re: Mysql wil lnot load > > > On Tuesday, 16. July 2002 07:11, Aaron Axelsen wrote: > > Hi, > > > 020715 23:40:08 mysqld started > > 020715 23:40:08 /usr/local/mysql/libexec/mysqld: Can't create/write > > to file '/usr/local/mysql/var/Alpha.pid' (Errcode: 13) 020715 23:40:08 > > > /usr/local/mysql/libexec/mysqld: Can't find file: './mysql/host.frm' > > (errno: 13) 020715 23:40:08 /usr/local/mysql/libexec/mysqld: Error on > > > delete of '/usr/local/mysql/var/Alpha.pid' (Errcode: 13) > > 020715 23:40:08 mysqld ended > > > > any suggestions? > > perror 13 ==> Error code 13: Permission denied > So you have to change the file privileges, or you should run mysqld > under > another user. > > Regards > > Georg > > > --------------------------------------------------------------------- > 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 > -- Diana Soares Websolut - Soluções Internet Email: [EMAIL PROTECTED] --------------------------------------------------------------------- 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