Hi Faizal, all!

F.A.I.Z.A.L wrote:
> hi
> 
> anyone can help. its urgent. iam trying to start mysql server but it is not
> starting.

Just read the output:

> 
> bash-2.03# ./mysqld_safe &
> [2] 3422
> bash-2.03# Starting mysqld daemon with databases from /usr/local/mysql/var
> STOPPING server from pid file /usr/local/mysql/var/andd141.pid
> 100114 11:31:22  mysqld ended
> 
> log error
> --------------------
> bash-2.03# more andd141.err
> 100114 11:31:19  mysqld started
> 100114 11:31:20  InnoDB: Started; log sequence number 0 44957717
> /usr/local/mysql/libexec/mysqld: File './mysql-bin.000025' not found
> (Errcode: 13)
> 100114 11:31:20 [ERROR] Failed to open log (file './mysql-bin.000025', errno
> 13)
  ^^                      ^^^^^^^^^^^^^^^^^^

Assuming this is Linux:
   joerg:~> find /usr/include -name 'errno*' | xargs fgrep 13
   ... ((some irrelevant lines))
   /usr/include/asm-generic/errno-base.h:#define   EACCES          13
   /* Permission denied */

Call "man 2 open" and search for "EACCES", and you will find:
|  EACCES The requested access to the file is not allowed, or search
permission is denied  for  one  of
|         the  directories  in  the  path  prefix  of pathname, or the
file did not exist yet and write
|         access to the parent directory is not allowed.  (See also
path_resolution(7).)

Then take appropriate action.


HTH,
Jörg

-- 
Joerg Bruehe,  MySQL Build Team,  joerg.bru...@sun.com
Sun Microsystems GmbH,   Komturstraße 18a,   D-12099 Berlin
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Wolf Frenkel
Vorsitzender des Aufsichtsrates: Martin Haering     Muenchen: HRB161028


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/mysql?unsub=arch...@jab.org

Reply via email to