List:General Discussion« Previous MessageNext Message »
From:Paul DuBois Date:September 19 1999 6:47pm
Subject:Re: help mysql.server error
View as plain text  
At 1:05 PM -0500 9/19/99, John Jacques wrote:
>Hello can anyone help me get mysql.server working? THANKS! I can start
>"mysqld &", but, when I try to run /etc/rc.d/mysql.server either
>manually or at boot-up I get the same error message:
>bash# mysql.server start
>Starting mysql daemon with databases from /usr/local/mysql/var
>mysqld daemon ended
>The /usr/local/mysql/var/johnjac.err file shows:
>mysqld started on  Sun Sep 19 14:00:44 EDT 1999
>/usr/local/mysql/libexec/mysqld: Can't change dir to
>'/usr/local/mysql/var --pid-file=/usr/local/mysql/var/'
>(Errcode: 2)
>990919 14:00:44  Aborting
>mysqld ended on  Sun Sep 19 14:00:44 EDT 1999

You've been bitten by a bug in the 3.23.3 mysql.server script.
There's an octal \240 character in the following part of the script:

      # Give extra arguments to mysqld with the my.cnf file. This script may
      # be overwritten at next upgrade.
      $bindir/safe_mysqld \
--datadir=$datadir\240--pid-file=$pid_file --log=$log_file  &

Replace the character between $datadir and --pid-file with a space.

Paul DuBois, paul@stripped
help mysql.server errorJohn Jacques19 Sep
  • Re: help mysql.server errorPaul DuBois19 Sep
    • Re: help mysql.server errorJohn Jacques19 Sep