On Mon, 2003-12-01 at 07:00, Chuck Gadd wrote:
> Michael Burke wrote:
>
> > I'm using mysql on redhat 9 and wanted to enable the query log file.I
> > copied one of the example my.cnf files to /etc and added an entry: --log
> > to enable the log file but when I boot red hat I get a message that
>
>
> If you are specifying the option on the command line, then you need
> the "--" But in the my.cnf, just add a line that says
>
> log
>
> or
>
> log=/path/and/filename
>
> if you want to specify the path and filename for the log.
>
>
>
Thanks for replying Chuck, you're right but now I'm getting the
following error:
031201 20:00:47 mysqld started
Warning: Ignoring user change to 'mburke' because the user was set to
'mburke' earlier on the command line
031201 20:00:49 InnoDB: Operating system error number 13 in a file
operation.
InnoDB: See http://www.innodb.com/ibman.html for installation help.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: 'open'.
InnoDB: Cannot continue operation.
031201 20:00:49 mysqld ended
It seems strange since the only thing I've done is copy my.cnf to /etc.